explain about plot (z_x,z_y)

3 次查看(过去 30 天)
희원 김
희원 김 2022-6-9
回答: M.B 2022-6-9
Can you explain what does mean of plot (z_x(:,1),z_y(:,1:2))?

回答(1 个)

M.B
M.B 2022-6-9
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));

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by