How I can plot a 2D in Matlab?
Show older comments
Hi,
I have x(i,j),y(i,j) and Z(x,y). How can I plot my z points based on x and y?
Let me explain a little: I am doing a 2D modeling and I have flux at each point (x,y). I am confused how can I plot this?
Answers (1)
Sandro Lecci
on 18 May 2018
0 votes
Dear sama,
ckeck the documentation of the surf function or the scatter3 function.
https://ch.mathworks.com/help/matlab/ref/surf.html?searchHighlight=surf&s_tid=doc_srchtitle https://ch.mathworks.com/help/matlab/ref/scatter3.html?searchHighlight=scatter3&s_tid=doc_srchtitle
Best, Sandro
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!