How I can plot a 2D in Matlab?

1 次查看(过去 30 天)
sama
sama 2018-5-17
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?

回答(1 个)

Sandro Lecci
Sandro Lecci 2018-5-18
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

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by