Le 14/08/2017 à 13:12, Richard llom a écrit :
Are you sure? .axes_bounds is a figure's property, not an axes one (this
is why it can't be specified in data coordinates). AFAIU, you would like
to have coordinates normalized either to the full axes, or to the full
data ranges. This .position coordinates could match your requirement
only when you have a single full scale plot in the figure (so no subplot
nor xsetech() other insets), and you want coordinates normalized to the
full axes (not data ranges).
I see .. yes you are right.

The option to set normalized positions would really be nice, but specifying
"lower left" would probably already be sufficient for me (see bug report).

As a work-around, this is definitely the easiest location to point to in data coordinates, since the block's anchor is set on its lower left corner: If your x and y axes are not reversed, the following should work: db = gca().data_bounds; // in Scilab 6, or ax = gca(); db = ax.data_bounds; // in Scilab 5
xstring(db(1), db(3), ...)

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to