Matplotlib-users digest, Vol 1 #458 - 4 msgs

Hi folks, I've noticed that zooming on the text won't make

    > the text any larger, and some other instances like
    > sub-axes share the problem too. And it is not the default
    > zoom behavior people usually expect. Any solution to that?

Well, I suspect we'd have to poll people to know whether this is the
behavior they usually expect....

Text locations are in data coordinates, but text sizes are physical
sizes, ie 12 points equal 12/72 inches, approximately... Physical
sizes don't change when you zoom in because the physical size of the
font will not change when you change the view limits of the data
coordinate system.

Eg, if you have set your dpi parameter correctly to reflect your
monitor

    from pylab import *
    fig = figure(dpi=96)
    plot([1,2,3])
    text(1,2,'hi mom', fontsize=72)
    show()

creates text that is an inch high, irrespective of the view port. I
think this is the behavior most people expect, at least those who are
used to thinking about fontsizes in points.

JDH

Exactly. I'd guess that most people would not want the text to zoom. I don't. If one takes zooming as a literal zoom of everything in the field, yes, I can understand that is what some might expect. But what is really most useful? I doubt that literal zooming is in the great majority of cases.

Perry

···

On Jan 26, 2005, at 10:14 AM, John Hunter wrote:

    > Hi folks, I've noticed that zooming on the text won't make
    > the text any larger, and some other instances like
    > sub-axes share the problem too. And it is not the default
    > zoom behavior people usually expect. Any solution to that?

Well, I suspect we'd have to poll people to know whether this is the
behavior they usually expect....

I also would expect the default behavior to not zoom the text.

···

On Wednesday 26 January 2005 10:32 am, Perry Greenfield wrote:

On Jan 26, 2005, at 10:14 AM, John Hunter wrote:

>
> > Hi folks, I've noticed that zooming on the text won't make
> > the text any larger, and some other instances like
> > sub-axes share the problem too. And it is not the default
> > zoom behavior people usually expect. Any solution to that?
>
> Well, I suspect we'd have to poll people to know whether this is the
> behavior they usually expect....

Exactly. I'd guess that most people would not want the text to zoom. I
don't. If one takes zooming as a literal zoom of everything in the
field, yes, I can understand that is what some might expect. But what
is really most useful? I doubt that literal zooming is in the great
majority of cases.

--

Darren