On Thu, Apr 9, 2009 at 9:25 AM, Ryan May <rm...@gm...> wrote:
> On Thu, Apr 9, 2009 at 1:04 AM, C M <cmp...@gm...> wrote:
>>
>> >
>> > I tried this, and it did stop autoscaling--but I do want y autoscaling.
>> > What I want is y autoscaling but not y autoscaling (just setting xlims).
>> > I tried adding either of these lines right before or right after when I
>> > plotted
>> > the highlighted point:
>>
>> Just to be clearer: What I want is the plot to stay precisely the same
>> when I add the highlighted point. But now I have either of two undesired
>> alternatives:
>>
>> 1) I do add_subplot(111,autoscale_on=False) when I create the
>> subplot and none of my plots have the y scaled (but I want them scaled).
>>
>> 2) I do add_subplot(111) and when I add a highlighted datapoint it
>> autoscales my plot (but I don't want that).
>
> If you upgrade to SVN head, it supports what you want. You can use:
>
> add_subplot(111, autoscalex_on=False)
>
> I don't think this particular feature has made it into a release yet.
>
> Ryan
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
Wow, thanks Ryan. This is the beauty of an email list. I'll try to
get it from SVN or back-burner this issue until the next release.
Che
|