How to turn the surface plot?
Mostrar comentarios más antiguos
if true
% code
Kraft=5:10:1470;
Geschwindigkeit=32:150;
nx = length(Kraft) ; ny = length(Geschwindigkeit) ;
if nx > ny
Geschwindigkeit = linspace(min(Geschwindigkeit),max(Geschwindigkeit),nx ) ;
elseif nx<ny
Kraft = linspace(min(Kraft),max(Kraft),ny) ;
end
load('KvICE.mat','ans');
surf( Geschwindigkeit,Kraft,ans','edgecolor','none');
I want to plot a graph but the expected result is getting confusing.
i am uploading a actual graph and creating some lines to tell u the area where the yellow area should be.
when i use traspose it goes to dotted line portion but i want it on normal line side(see screenshot)
Respuestas (1)
madhan ravi
el 1 de Nov. de 2018
Editada: madhan ravi
el 1 de Nov. de 2018
Kraft=5:10:1470;
Geschwindigkeit=32:150;
nx = length(Kraft) ; ny = length(Geschwindigkeit) ;
if nx > ny
Geschwindigkeit = linspace(min(Geschwindigkeit),max(Geschwindigkeit),nx ) ;
elseif nx<ny
Kraft = linspace(min(Kraft),max(Kraft),ny) ;
end
load('KvICE.mat','ans');
result=fliplr(flip(ans,1))
surf( Geschwindigkeit,Kraft,ans,'edgecolor','none');
4 comentarios
Shubham Mohan Tatpalliwar
el 1 de Nov. de 2018
madhan ravi
el 1 de Nov. de 2018
So you don’t want to change NaN values?
Shubham Mohan Tatpalliwar
el 2 de Nov. de 2018
madhan ravi
el 2 de Nov. de 2018
yes maybe because after trying several manipulations if its not working then that might be the only solution
Categorías
Más información sobre Lighting, Transparency, and Shading en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!