0

I have such plot. Could you advise me a approach how I can increase an y-axis's size in zooming part? I want make it (ylim[ymin, ymax]) bigger.

enter image description here

Kenenbek Arzymatov
  • 8,439
  • 19
  • 58
  • 109

1 Answers1

1

You could use axes.set_ylim([ymin,ymax]) to choose your y zoom More generally see http://matplotlib.org/examples/pylab_examples/manual_axis.html for a detailed example.

MathBio
  • 367
  • 1
  • 2
  • 13
  • It is not what I want. Currenty y-axis's actual size in the screen is 1.5 cm. But my aim is to make it 3 cm or 4 cm. – Kenenbek Arzymatov Jan 22 '16 at 21:18
  • 1
    Do you mean you have a problem with the ratio of the matplotlib screen size relative to the monitor size? If so, I think the figsize is addressed here http://stackoverflow.com/questions/332289/how-do-you-change-the-size-of-figures-drawn-with-matplotlib – MathBio Jan 22 '16 at 21:23