Scatter plot for two 3D images

6 views (last 30 days)
Joaquim
Joaquim on 1 Aug 2014
Commented: Image Analyst on 4 Aug 2014
How can i do a scatter plot applied to two 3D images? I mean, I want to compare the values of 2 3D-images putting them on a scatter plot? Anyone could help me?
  3 Comments
Ashish Gudla
Ashish Gudla on 4 Aug 2014
If by putting on scatter plot and compare you mean you want to plot both onto a single figure you can use "hold on" between your scatter3 calls which would plot the points onto the same axes.
Example:
>> scatter3(x1,y1,z1);
>> hold on
>> scatter3(x2,y2,z2);
Image Analyst
Image Analyst on 4 Aug 2014
You would not plot every voxel value with a scatter plot. So...
What do the three dimensions represent? RGB values? Distances along the x,y,z directions? Something else??? How many data points are to be plotted?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!