2D plot x-y axis

3 views (last 30 days)
Shashank
Shashank on 24 Dec 2015
Commented: Shashank on 24 Dec 2015
How can visualize on a 2D plot the variation of a variable say, z of size (100,1), that varies with both x and y, both of size (100,1)?

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 24 Dec 2015
You have 3 variables x,y and z, I think you need a 3D plot
plot3(x,y,z)
Unless you want to change the transparency of the 2D plot according to z value
  1 Comment
Shashank
Shashank on 24 Dec 2015
Want something like this. "z" is plotted against "x" and "y" for at different time instants. So I just need to know how to plot it for just one time instant.

Sign in to comment.

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!