Need to draw a plane

3 visualizaciones (últimos 30 días)
joy
joy el 24 de Nov. de 2012
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////

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Nov. de 2012
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 comentarios
joy
joy el 24 de Nov. de 2012
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 el 24 de Nov. de 2012
Sorry, should be 'FaceAlpha' instead of 'AlphaData'

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by