Plot Surface when Z is not a function of X and Y
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone.
I am trying to plot my data in 3D surface. However, it currently does not work since my X,Y, and Z are independent. Z is not F(X,Y). I also try to use meshgrid but still does not work. The reason that I want to plot surface because my scatter plot points are trade-off. Thus, if i can show it in surface, it will be easier to interpolate my trade-off. Do I have any other ways to use surf function?
Thank you very much.
0 Kommentare
Antworten (1)
Image Analyst
am 17 Jan. 2015
What relationship is there between z and x and y? What is z? Is it a 2D matrix? Is it a vector? Is it a volumetric array, like a CT or MRI image?
11 Kommentare
Torsten
am 26 Aug. 2016
t=0:0.01:2;
x=0:0.01:1;
surf(x,t,u1array);
does not work for u1array being 201x101 ?
That's surprising.
Best wishes
Torsten.
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!