[scilab-Users] legend, legends and friends
Mathieu Dubois
mathieu.dubois at limsi.fr
Tue Aug 31 18:28:53 CEST 2010
Hello Samuel,
> >I would like to avoid manual placement.
> What do you mean? You may compute from your data x & y coordinates
> where you want to put the legend() (it should not be so bad), or put them
> in an interactive way (what is not really nice, i agree).
I would have like avoid interactive placement.
> Before calling legend(), you may enlarge the right margin of the axes :
> ca=gca();
> ca.margins(2)=0.25; // or even more, in relative coordinates with
> respect to the axes width = 1
> legend([ <all your legends>,-1) // It works for me on the plot2d()
> sample
Thanks that's exactly what I wanted to do.
Maybe the legend() function could do that automatically...
Thanks again,
Mathieu
More information about the users
mailing list