How I can plot a 2D in Matlab?

2 visualizzazioni (ultimi 30 giorni)
sama
sama il 17 Mag 2018
Risposto: Sandro Lecci il 18 Mag 2018
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?

Risposte (1)

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by