Need to draw a plane

4 次查看(过去 30 天)
joy
joy 2012-11-24
Hello I have a 3d plot like this http://s10.postimage.org/k551sbnah/fig.jpg
in this fig I need to draw plane at z axis at 3.9*10^-3,,,from this plane i can specify which points lies above 0.0039 and below of it
any idea////

采纳的回答

Walter Roberson
Walter Roberson 2012-11-24
XL = get(gca, 'XLim');
YL = get(gca, 'YLim');
zpos = 0.0039
patch([XL([1 2 2 1 1]), YL([1 1 2 2 1]), zpos * ones(1,5));
  6 个评论
joy
joy 2012-11-24
using this command,I am getting following errors..how to rectify???
??? Error using ==> patch Bad property value found. Object Name : patch Property Name : 'AlphaDataMapping'
Walter Roberson
Walter Roberson 2012-11-24
Sorry, should be 'FaceAlpha' instead of 'AlphaData'

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by