Axis not held using hold command in plot3

I need to plot 2 3d points: x1, y1, z1 and x2, y2, z2 on the same axis. When using plot3 I only get the second marker while using plot3 for each point. When using one command for both points I get only one marker.

Risposte (1)

Star Strider
Star Strider 43 minuti fa
It would be nice to know what the point values are, and if you are restricting the axes in some way by using xlim, ylim, zlim or axis, such that one marker is invisible (outside the axis llimits).
My inescapable conclusion otherwise is that the points are either the same, or so close that the markers are indistinguishable. See if plotting different shape markers for each point (for example 's' and 'p') or plotting them as different sizes (using MarkerSize) or preferably both, makes any difference.

Categorie

Prodotti

Release

R2025b

Tag

Richiesto:

circa 17 ore fa

Risposto:

circa 16 ore fa

Community Treasure Hunt

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

Start Hunting!

Translated by