Shared axis question

When I use the zoom feature of the NavigationToolbar, the

    > xaxis is shared between all 3 graphs. But the yaxis
    > limits are free. Obviously, they could also be shared but
    > this is not want I want. I would like to "force" or
    > "freeze" the Y axis to a given value. Consequently, the
    > zoom feature would act only along the X axis.

When using the right mouse zoom in pan/zoom mode, if you hold 'x' down
the zoom will only be in the x direction. ditto for 'y'. It would be
nice to support this for zoom to rect as well. On the todo list!

JDH

Dear John,

Thanks for your support.
Pressing the X/Y key works fine in the pan menu! I tested it!
But my first suggestion would be an additional keyword in the subplot command, something like:

ax2 = subplot(312, sharex=ax1, freezey=True)

In fact, there would be necessary 2 additional keywords (freezex, freezey) that would disable
limit changes after the subplot creation. Obviouly, if freezey=False or None, the axis limits would
be free to be changed by the zooming tool.

Clovis

John Hunter wrote:

···

"Clovis" == Clovis Goldemberg <clovis@...339...> writes:
           
   > When I use the zoom feature of the NavigationToolbar, the
   > xaxis is shared between all 3 graphs. But the yaxis
   > limits are free. Obviously, they could also be shared but
   > this is not want I want. I would like to "force" or
   > "freeze" the Y axis to a given value. Consequently, the
   > zoom feature would act only along the X axis.

When using the right mouse zoom in pan/zoom mode, if you hold 'x' down
the zoom will only be in the x direction. ditto for 'y'. It would be
nice to support this for zoom to rect as well. On the todo list!

JDH

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users