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