MATLAB How to Create a 3D Plot in Matlab for Matrix Visualization?

  • Thread starter Thread starter katie_smith
  • Start date Start date
  • Tags Tags
    3d Matlab Plot
Click For Summary
To create a 3D plot in Matlab for visualizing a 320 x 333 x 4 matrix, users suggest utilizing functions like scatter3 or quiver3, which can effectively represent the angles of the matrix layers. The goal is to produce a stacked colored scatter plot that visually conveys the image volume, complete with a color bar to indicate angle representation. While the user is familiar with 2D plots, they seek guidance specifically for 3D visualization techniques. The discussion highlights the need for clarity in representing multiple dimensions and angles within the plot. Assistance in achieving this visualization would be greatly appreciated.
katie_smith
Messages
1
Reaction score
0
Hi everyone,

I'm working on a project where I need to produce a 3D plot for matrix using Matlab. The plot must comprise of both alpha and beta in 3D. Alpha, A is a 320 x 333 x 4 matrix, where each individual layer (i.e. A(320,333,i) for i = 1:4) represents one image's angles. The beta matrix is similar.

I've searched around, but I can't find a way of doing such plots in Matlab anywhere. I can quite easily do a coloured plot in 2D but the 3D plot is the one needed for visualisation purposes. I wanted to do a stacked coloured scatter plot in 3D to form the image volume somehow. It would need to be a coloured scatter plot with a colour bar scale on the side so we can know what each colour represents angle-wise. Please, oh please if any of you could help me I would be forever grateful.

Katie x
 
Physics news on Phys.org
Sorry, I'm not a Matlab user, but I wonder if scatter3 or quiver3 (particularly as you might be able to use arrows to show the angles) might provide a way of achieving what you want?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K