combining 3 different 2d graphs to 3d graph

5 次查看(过去 30 天)
i have 3 different 2d graph of xy,yz and xz axis were these graphs are of scatter plots with linear and parabolic fit line. i need to combine them to a single 3d graph of xyz axis. please help me out to combine these graphs with proper method or coding.
  1 个评论
Walter Roberson
Walter Roberson 2015-9-13
Is the original data available or only the plots?
Are the 2d scatter plot colored by the third axes, such as
pointsize = 14;
subplot(1,3,1)
scatter(x(:), y(:), pointsize, z(:));
subplot(1,3,2)
scatter(x(:), z(:), pointsize, y(:));
because if so then the 3D coordinates can be recovered from any one of them.
If only the 2D information is available, then are the same x, y, and z values used for all of them, in the same order, like
subplot(1,3,1)
scatter(x(:), y(:));
subplot(1,3,2)
scatter(x(:), z(:));
subplot(1,3,3)
scatter(y(:), z(:));
Because if so, if the order is exact and the coordinates match, then the coordinates can be recovered from any two of them.

请先登录,再进行评论。

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by