MATLAB Answers

How I can plot a 2D in Matlab?

6 views (last 30 days)
sama
sama on 17 May 2018
Answered: Sandro Lecci on 18 May 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?

  0 Comments

Sign in to comment.

Answers (1)

Sandro Lecci
Sandro Lecci on 18 May 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

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags