如何在MATLAB中绘制没有黑边的曲面图? [英] How to draw a surface plot without black edges in MATLAB?

查看:307
本文介绍了如何在MATLAB中绘制没有黑边的曲面图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

黑线很糟糕,我怎么能摆脱它们?我只想要彩色表面。

解决方案

另一种选择是设置 edgeColor 和/或 none 的表面处理对象的lineStyle 属性。
$ b

 >> ; hSurf = surf(X,Y,Z,'EdgeColor','none','LineStyle','none','FaceLighting','phong'); 


The black lines are awful, how can I get rid of them? I want only the colored surfaces.

解决方案

Another choice is to set the edgeColor and/or lineStyle properties of the surface handle object to none.

>> hSurf = surf(X,Y,Z,'EdgeColor','none','LineStyle','none','FaceLighting','phong');

这篇关于如何在MATLAB中绘制没有黑边的曲面图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆