I'm using Octave 2.9.8 on Linux Fedora Core 3 with Gnuplot 4.0.
I would like to plot two different sets of 3D data onto the same figure and visualise them together (rotate etc.) to analyse the data but the second plot always overwrites the first one instead of joining both in the same figure.
I've tried to do the following (just a dummy example for illustration purposes): t = 0:pi/50:10*pi; x1 = sin(t); y1 = cos(t); z1 = t; x2 = cos(t); y2 = sin(t); z2 = t; figure; plot3(x, y, z,'r-'); hold on; plot3(x1,y1,z1,'b-'); hold off;
The hold on/off does not seem to work with plot3. It works fine when using the 2D equivalent "plot()".