This has been irritating for a long time.  I have tried to look at
this code too but I find it confusing.  I have been reduced to writing
my own code to produce axes (sometimes I need some funny things, like
2 sets of axes for a plot with two different scales).  There is
probably already a ticket for this but I'm not sure what it is off
hand.

In general there needs to be clearer ways to override the choices that
plot makes.  For example, I think currently that when one specifies
xmin, xmax, etc, the plot is still padded out a little, which is
sometimes unacceptable.  It also sometimes put the axes in the middle
of the plot, sometimes on the side...ack.

Maybe it would make sense to make an alternative plot command,
something like "manual_plot", with more direct and fine-grained
control.  Doing it from scratch might be easier than changing the
current code.

-M. Hampton

On Nov 1, 9:29 am, "David Joyner" <[EMAIL PROTECTED]> wrote:
> This probably doesn't help, but there is a method in axes.py called
> "tasteless_tick_marks" which I guess you have to figure out how to use
> somehow.
>
> sage: from sage.plot.axes import Axes
> sage: P = plot(x^2,2,10)
> sage: Axes(P)._tasteless_ticks(2,10, 10)
>
> ([9.1999999999999993,
>   8.4000000000000004,
>   2.0,
>   4.4000000000000004,
>   6.0,
>   5.2000000000000002,
>   10.0,
>   6.8000000000000007,
>   3.6000000000000001,
>   7.6000000000000005,
>   2.7999999999999998],
>  9.1999999999999993,
>  0.80000000000000004)
>
> I couldn't figure it out though.
>
> On Sat, Nov 1, 2008 at 9:35 AM, Michel <[EMAIL PROTECTED]> wrote:
>
> > I would like to make a simple 2D plot of a function. However I cannot
> > figure out from the manual how to specify the frequency of the tick
> > marks. Currently they seem to be multiples of 2.5 and I would like
> > them to be multiples of 1.0.
>
> > Any help?
>
> > Regards,
> > Michel
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to