> > sage: q = plot(tan(x), (x,-1,1))
> > sage: q.set_legend_options(title='tangent!')
>
> > does nothing. Am I doing something wrong? Have I found some bugs?
>
> I don't know about this.  It would be something to look into.  It might

Not exactly a bug.  You have to actually have a function with legend
first to do anything with it.  The title is referring to the title of
the box with the legends.


sage: p = plot(tan(x),-1,1,legend_label='Tangent!')
sage: p # legend for this func
sage: p.set_legend_options(title='Mine')
sage: p # title to the box
sage: p += plot(-tan(x),-1,1,legend_label='Neg.Tan!')
sage: p # both functions in legend - notice the title is gone, perhaps
this is a bug in addition of plots
sage: p.set_legend_options(title='Mine')
sage: p # now the title to the box is back

Dan and Jason, what do you think the bug here is?  It seems like at
least the addition thing is.   But having a title to an empty legend
box seems silly.

- kcrisman

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to