Hello Claus,

plot3d3() may be used for this kind of plot. It is even its main asset, despites it is not highlighted in its documentation. Here is an enriched version of its example, and its rendering:

u  =  linspace(-%pi/2,  %pi/2,  30);
v  =  linspace(0,  2*%pi,  30);
X  =  cos(u)'*cos(v);
Y  =  cos(u)'*sin(v);
Z  =  sin(u)'*ones(v);

clf
subplot(1,3,1)
plot3d3(X,Y,Z);

subplot(1,3,2)
plot3d3(X,Y,Z);
ax  =  gca();
ax.children(1).visible  =  "off";
ax.children(2).children.foreground  =  color("grey70");

subplot(1,3,3)
plot3d3(X,Y,Z);
ax  =  gca();
ax.children(2).visible  =  "off";
ax.children(1).children.foreground  =  color("orange");

f  =  gcf();
isoview(f)
f.children.rotation_angles  =  [50  20];

As you see, plot3d3() plots two independent sub-lattices that can be controlled independently. This may be easily applied to your case. If you don't need one of the sub-lattices, you may even delete it and keep only the other one. Cheers Samuel PS : i will propose an improved page for plot3d3.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to