explain about plot (z_x,z_y)

3 vues (au cours des 30 derniers jours)
희원 김
희원 김 le 9 Juin 2022
Réponse apportée : M.B le 9 Juin 2022
Can you explain what does mean of plot (z_x(:,1),z_y(:,1:2))?

Réponses (1)

M.B
M.B le 9 Juin 2022
You get a two graph plot where the x axis data is the first column of z_x, and y axis data is the first two columns of z_y.
It's equivalent to:
plot(z_x(:, 1), z_y(:, 1)); hold on;
plot(z_x(:, 1), z_y(:, 2));

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by