2D plot x-y axis

3 次查看(过去 30 天)
Shashank
Shashank 2015-12-24
评论: Shashank 2015-12-24
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 个)

Azzi Abdelmalek
Azzi Abdelmalek 2015-12-24
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 个评论
Shashank
Shashank 2015-12-24
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by