Placing axes in 3d mode, bad behaviour

StŽéphane Mottelet stephane.mottelet at utc.fr
Mon Feb 15 18:39:30 CET 2010


Hi all,

by playing around I discovered that when setting 'x_location' and 
'y_location'
to "origin" in a 3d plot does not correcly place axes. In fact, these 
axes should
be within the z=0 plane, which is not the case :

plot3d;
a=gca();
a.x_location="origin";
a.y_location="origin";

After these commands, the axes are located in the plane z=1 !  You can 
even try it
on a 2d plot which is later rotated :

plot((-1:0.1:1),(-1:0.1:1))
a=gca();
a.x_location="origin";
a.y_location="origin";


If this problem can be fixed (I think so), then the absence of a 
"z_location " axes
property will be raised. This z_location property should be able to take 
the values
"left", "right","middle" and "origin".

S.






More information about the dev mailing list