disabling autoscaling

Just one more question on this: is there an even simpler way

    > to activate this than via fig = figure(figsize=(6,6)) ax =
    > fig.add_axes([0.1, 0.1, 0.8, 0.8])
    > ax.set_autoscale_on(False) ? For example, could one apply a
    > general autoscale(False) to the following plot(s)/subplots?

I can think of two ways this could be implemented. Make it an rc
property, and when any new axes are created they would use the rc
default. Alternatively, one could make it a figure method, which
would apply to all of its axes. Eg if you did

  fig.autoscale(False)

then autoscaling would be turned off on all existing axes and would be
off by default for any new ones created.

I am not sure if this is a sufficiently useful configuration option to
justify the extra code. What do you think?

JDH

    > Just one more question on this: is there an even simpler way
    > to activate this than via fig = figure(figsize=(6,6)) ax =
    > fig.add_axes([0.1, 0.1, 0.8, 0.8])
    > ax.set_autoscale_on(False) ? For example, could one apply a
    > general autoscale(False) to the following plot(s)/subplots?

I can think of two ways this could be implemented. Make it an rc
property, and when any new axes are created they would use the rc
default.

Personally I don't use rc properties much, only if I can't avoid
them (Reasoning: I want to keep my plot-files portable
from one machine to the other without carrying the rc files
around. Setting rc properties from within the programm
is an alternative, but not _my_ preferred one).

Alternatively, one could make it a figure method, which
would apply to all of its axes. Eg if you did

  fig.autoscale(False)

then autoscaling would be turned off on all existing axes and would be
off by default for any new ones created.

I do like this one - does this also mean that autoscale=False
can be given as additional argument to the figure command?
In addition it would be nice to set this type of option
for the subplot command.

I am not sure if this is a sufficiently useful configuration option to
justify the extra code. What do you think?

Well, difficult to estimate from my side, as I don't know how
much extra code it would be.
From a (=my) user perspective I think it would be nice,
because I have a couple of situations
where one plot should stay with the same range in x and y
whereas another plot next to it should autoscale.

Best,

Arnd

···

On Mon, 13 Jun 2005, John Hunter wrote: