2D plot x-y axis

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)?

回答(1 个)

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 个评论

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.

请先登录,再进行评论。

类别

标签

提问:

2015-12-24

评论:

2015-12-24

Community Treasure Hunt

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

Start Hunting!

Translated by