Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Text does not scale with size of graphic

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85954] Re: Text does not scale with size of graphic
  • From: Albert Retey <awnl at arcor.net>
  • Date: Thu, 28 Feb 2008 02:57:52 -0500 (EST)
  • References: <fq3a7e$fk4$1@smc.vnet.net>

Hi,

> This is probably a silly question, but I was wondering why it is that
> text in a graphic remains the same size when the graphic is resized.
> For example, if you look at
> 
> Plot[BesselJ[0, x], {x, 0, 10}]
> 
> and drag the resizing handles around, you see that, independent of all
> the other graphic elements, the tick labels stay the same size no
> matter what size you make the plot.  What is the reason for this?
> 
> I often want to make an array of relatively small graphics, but a
> problem with doing this is that the tick labels can crowd out the rest
> of the graphic.  In the past I've just eliminated the tick labels; is
> there a way to introduce text that does scale with the size of the
> graphic?

In Version 6 the following works:

Plot[
  BesselJ[0, x], {x, 0, 10},
  BaseStyle -> {FontSize -> Scaled[0.05]}
]

I don't think that this was possible with prior versions...

hth,

albert


  • Prev by Date: Re: How to select terms wanted in a series
  • Next by Date: Re: How to select terms wanted in a series
  • Previous by thread: RE: Text does not scale with size of graphic
  • Next by thread: Re: Findroot for large data sets