This is a support question, not a notebook question :) so forwarding
to that list.

The answer is, as so often, in 
http://www.sagemath.org/doc/reference/sage/plot/plot.html
but hard to find.

sage: P.set_legend_options(loc=7) is one example of the syntax.  If
you search for "set_legend_options(**kwds)", you'll see what all the
numbers mean.  You can also set an absolute position.

Hope this helps!

- kcrisman


---------- Forwarded message ----------
From: Giri Narayanan <[email protected]>
Date: Aug 7, 6:02 pm
Subject: Plot Legends
To: sage-notebook


Hello,

The legend attribute on 2D objects adds the legend to the plot.
line([(0,0),(1,1)], legend_label='line')

Is there a way to control the placement of the legend object, can I
specify
coordinates for it.

Thanks.
-Giri

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to