bug in plot3d2?
Gianluca Antonelli
antonelli1970 at gmail.com
Thu Sep 3 18:09:41 CEST 2009
Hi,
there is a strange behavior of the color feature using plot3d2.
When I use the following code:
h=gca();
h.axes_reverse(3)="on";
within an existing graphic made with plot3d2 the former color settings
are lost.
To reproduce it just add those two lines to the code of the help:
// code from help plo3d2
u = linspace(-%pi/2,%pi/2,40);
v = linspace(0,2*%pi,20);
X = cos(u)'*cos(v);
Y = cos(u)'*sin(v);
Z = sin(u)'*ones(v);
plot3d2(X,Y,Z);
e=gce();
e.color_mode=5; // change color
//end code from help plot3d2
h=gca();
h.axes_reverse(3)="on";
Best,
Gianluca
More information about the users
mailing list