Le 02/08/2015 07:44, jaipur a écrit :
I'd like to write 'small text' at a 3D point [x0, y0, z0] in 3D axes.
A function, xstring works only for 2D axes like
xstring(x,y,str,[angle,[box]]).
So, I'm now writing the following code.
xstring(x0, y0, 'small text' );
h_text = gce();
h_text.data = [x0, y0, z0];
Is there single function to write text in 3D point?
No, this has been discussed there:
http://mailinglists.scilab.org/SEP-69-xarrows-with-a-optional-Z-paramer-for-3D-tp3299879p3302327.html
It should be easy to add an optional Z coordinate. Controlling the 3D
orientation of text will be harder.
As a first step, indeed, an optional z parameter could be added to the
same xstring().
Regards
Samuel
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users