How I can plot a 2D in Matlab?

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

0 个投票

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

类别

标签

提问:

2018-5-17

Community Treasure Hunt

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

Start Hunting!

Translated by