[Matplotlib-users] autoscale y axis in different [x1,x2] range

Joe solarjoe at posteo.org
Thu Nov 30 07:14:50 EST 2017


Did you use a shared x axis for the plots? (sharex?
see also 
https://matplotlib.org/examples/pylab_examples/shared_axis_demo.html

Am 30.11.2017 10:55 schrieb jlx:
> hey everyone, I meet a problem about autoscale.
> 
> I change the x axis range so that I can see the details of the curve, 
> but y
> axis range is always the same, it does not change automatically to zoom 
> in.
> 
> I tried autoscale on and set_autoscale_view, but do not work, could you 
> help
> me about that?
> 
> the following are curves at whole x range and [x1,x2] range:
> 
> <http://matplotlib.1069221.n5.nabble.com/file/t5114/whole.png>
> <http://matplotlib.1069221.n5.nabble.com/file/t5114/10-20.png>
> 
> So how to make the black, red and blue curves fit the subplot window
> automatically?
> 
> 
> Thank you!
> 
> 
> 
> 
> --
> Sent from: 
> http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users


More information about the Matplotlib-users mailing list