On Sep 1, 3:45 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 9/1/11 2:16 PM, MathLynx wrote:
>
> > plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[.
> > 00005,None])
>
> Try this:
>
> from matplotlib import ticker
> plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,
> thickness=2,ticks=[.00005,None],
> tick_formatter=ticker.FormatStrFormatter('%g'))
>

We may want to expose more of these tickers, Jason.  Especially
because it seems like we are still occasionally getting plots where
the labels are a little weird because of the big/small numbers.  I'm
sorry I can't be more clear about this.  Is there a ticket open for
making some of these other formatters/tickers easier to use from
within Sage?

- kcrisman

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

Reply via email to