
Plot a "floating' 3D surface
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jose Manuel Gomez Guzman
am 9 Jul. 2015
Bearbeitet: Stephen23
am 9 Jul. 2015
Hi guys,
this is my issue.
I have a 40x40 Z matrix (named MUHAT_E) that I want to plot in a grid. So till here is simple:
x=linspace(0,1,40); y=linspace(0,1,40); [X,Y]=meshgrid(x,y); surf(X,Y,MUHAT_E)
The problem is that I don't like the result of this command:

I would like to get two things in this plot (if possible):
- Remove the blue floor not plotting the zero values of the Z matrix.
- Give a "floating" aspect to the matrix not connecting the edges of the red area with the zeros values.
With those two modifications I would be able to see the concavity of the function from below. Is that possible?. I attach the MUHAT_E matrix.
Thanks!!!.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!