This block is a simulink adaptation of STEM3 plot function.
The standard STEM3 function allows to plot in Matlab environment. This block allows to plot the motion of SEVERAL vehicles in the XYZ space. Of course setting the camera viewing angle can be altered from parameter [45 45] to any [degrees_of_elevation height] number. Color and marker of each line are also changeable.
This block is very useful when you have to compare the motion of a point versus a reference trajectory.
Use inputs that have the format of x, y and z with the same size. The file is saved for R2011a.
Hi Larasmoyo, is it possible to plot with using surf command?, it is because i need to plot a 3D real time image with color. Thank you so much
hi Yu Huan, i updated as you suggested. To use plot3, just uncomment the stem3-related three lines.
Hi, thank you for your block, instead of plotting with stem, how could I just do the function of plot3 with this simulink model? I tried to comment but it doesn't work. Hope I could use some advice from you. Thank you very much
1.5, To use plot3, just uncomment the stem3-related three lines.
Profile picture updated from demonstration data
Inspired by: 3DScope