>>>>> "Haibao" == Haibao Tang <ba...@ug...> writes:
Haibao> Hi folks, I've noticed that zooming on the text won't make
Haibao> the text any larger, and some other instances like
Haibao> sub-axes share the problem too. And it is not the default
Haibao> 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
|