Mon 29 Dec 2014 09:57:05 PM UTC, comment #5:
Hi,
the bug is because of the "set hidden3d", in line 1413 of
_go_draw_axes_.m
Debugging this routing shows that the variable "hidden_removal"
is initialized as NaN, and in line 1413 is still NAN, so
"set hidden3d" is printed.
I think that the best fix is to initialize hidden_removal in
line 429 as false.
I have checked other 3D demos (trimesh, trisurf) and they are not
affected by this change.
Patch attached, please check.
this patch also solve bug 36926
Avinoam
|
Mon 07 Apr 2014 09:11:12 AM UTC, comment #4:
Hello,
the bug is still not solved with the last release 3.8.1 (MS Windows).
Under the gnuplot toolkit, when drawing 3D lines, also the lower level command 'line' is affected from this bug. The result is lines that are plotted without taking into account any of the specified preferred colors. Therefore the first line is plotted in red, the next one in blue and so on... even if the user specifies a list of preferred colors. I confirm that this bug does not occur when plotting 2D lines.
I also confirm that this bug does not occur when using the fltk toolkit.
|
Sun 28 Jul 2013 03:58:20 AM UTC, original submission:
On my machine, the first time I use plot3 on a figure, the line will be red. If I then do "hold on" and use plot3 again, the next line will be blue. Next call gives light blue. The 4'th call gives yellow. Subsequent calls repeat this sequence. If I try to set the line color by passing '-b', '-r', '-g', etc. these options are ignored. Colors work as expected in 2D plots.
Run the following to reproduce this behavior:
figure
plot3([0,1],[0,1],[0,1],'-b','linewidth',3);
hold on
plot3([1,0.5],[0,1],[0.5,0.5],'-b','linewidth',3);
plot3([0,-1],[0.8,-1],[-0.3,-1],'-b','linewidth',3);
Plot more lines, if desired and you should see the colors cycle.
|