2D plot x-y axis

5 vues (au cours des 30 derniers jours)
Shashank
Shashank le 24 Déc 2015
Commenté : Shashank le 24 Déc 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)?

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 24 Déc 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 commentaire
Shashank
Shashank le 24 Déc 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.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by