MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Font size in plot coordinates?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92430] Re: Font size in plot coordinates?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 30 Sep 2008 21:51:27 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gbt2qe$lda$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,


try:

Graphics[{Text[Style["Fixed Size", FontSize -> 12], {1, 1}],

   Text[Style["Scaled Size", FontSize -> Scaled[0.1]], {0, 0}]}]

and look what happen when you rescale the graphics.

Regards
   Jens

Szabolcs Horvat wrote:
> The font size can be specified in absolute units (in this case the font 
> size won't change while resizing the graphic), or in scaled units, as a 
> fraction of the width of the graphic.
> 
> I am plotting variable-width, but fixed height graphics, where it is 
> important that the size of text stay constant compared to the size of 
> other objects.
> 
> Is there a way to either specify the font size in plot coordinates (so 
> that the text would scale with the graphic, but would be independent of 
> the plot range), or to specify the font size as a function of the 
> graphic's height (not width)?
> 
> I know that I have the option of converting the letters to outlines (by 
> exporting to pdf, then importing).  Is there a better solution than this?
> 


  • Prev by Date: Re: help with new symbols (or pointers)
  • Next by Date: Re: mathematica newbie ?
  • Previous by thread: Font size in plot coordinates?
  • Next by thread: Comparison between Mathematica and other symbolic systems