On 11/15/11 10:44 PM, Dan Drake wrote:
It seems that I've discovered more broken things in the plotting code!
I'm trying to get my plots to look right, and I've discovered that I
can't alter the legend or aspect ratio with the relevant "set_" functions:
sage: q = plot(tan(x), (x,-1,1))
sage: q.set_aspect_ratio(5)
...which has no affect on q.
This is fixed in #11963 (needs review! :)
Likewise:
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
be better to just have a function to set the show options for a figure,
rather than specific setter functions for each possible show option.
Something like:
q.set_show_options(legend_label='tangent')
which would be the same as:
plot(tan(x), (x,-1,1),legend_label='tangent')
Jason
--
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