fontunits

Hi all,

MATLAB has a setting for text called fontunits. Basically if I understand it correctly it sets the size of the font relative to the size of the axis so that as the graph changes size so does the font. Is there something equivalent in Matplotlib?

John C. Smith

Senior Developer

Blueback Reservoir

1160 Dairy Ashford Street, Ste 330

Houston TX 77079

Voice +1.832.327.5402

Cell +1.281.450.3983

Email: john.smith@…3377…

Web: www.blueback-reservoir.com

image001.jpg

A leading independent global provider of 3D modeling solutions and services

Relative to the axis size, not that I am aware of (although you might find something in mplsizer in mpl_toolkits). You can specify font sizes through the size parameter:

http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.text.Text.set_size

But I think that is it.

Ben Root

···

On Tue, Dec 21, 2010 at 4:28 PM, John Smith <john.smith@…3385…77…> wrote:

Hi all,

MATLAB has a setting for text called fontunits. Basically if I understand it correctly it sets the size of the font relative to the size of the axis so that as the graph changes size so does the font. Is there something equivalent in Matplotlib?

John C. Smith