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: [mg85937] RE: [mg85894] Text does not scale with size of graphic
  • From: "Jose Luis Gomez" <jose.luis.gomez at itesm.mx>
  • Date: Thu, 28 Feb 2008 02:49:02 -0500 (EST)
  • References: <200802270922.EAA15944@smc.vnet.net>

Dear Daniel

The following code is based in a previous answer to a similar question in
this forum. The original answer was given by Carl Woll [carlw at wolfram.com].
This is the code:

myplot = Plot[BesselJ[0, x], {x, 0, 10}];
First@ImportString[ExportString[myplot, "PDF"], "PDF"]

The image that is produced with this code, when resized, the "text" and the
"ticks" are also resized.

Best regards!

Jose
Mexico


-----Mensaje original-----
De: D. Grady [mailto:D.C.Grady at gmail.com]
Enviado el: Mi=E9rcoles, 27 de Febrero de 2008 03:23 a.m.
Para: mathgroup at smc.vnet.net
Asunto: [mg85894] Text does not scale with size of graphic

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?

Thanks for any help!

-Daniel



  • Prev by Date: Re: What is the fastest way to threshold data?
  • Next by Date: option to fix the speed of exported avi file
  • Previous by thread: Text does not scale with size of graphic
  • Next by thread: Re: Text does not scale with size of graphic