combining 3 different 2d graphs to 3d graph

2 views (last 30 days)
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 Comment
Walter Roberson
Walter Roberson on 13 Sep 2015
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.

Sign in to comment.

Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!