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

MathGroup Archive 2012

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

Search the Archive

Re: how export a graphic with given width preserving the ratio of text to image size

  • To: mathgroup at smc.vnet.net
  • Subject: [mg126428] Re: how export a graphic with given width preserving the ratio of text to image size
  • From: bjornson at stanford.edu
  • Date: Thu, 10 May 2012 04:56:23 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

On Wednesday, May 9, 2012 12:54:30 AM UTC-7, Ted Sariyski wrote:
> Hi,
> I have a plot with labels which I want to export reduced, e.g. with 
> width=3''. Export[file,gr,"tiff",ImageSize->216] reduces the image but 
> doesn't preserve the ratio text size to image size of the original 
> image. Magnify does what I want but the head of the returned object is 
> Magnify, not Graphics. What is the recommend way to export a graphic 
> with predefined width preserving the ratio of text size to image size?
> Thanks in advance,
> --Ted

Hi Ted,

See the last example for Scaled under Scope>Scaled Sizes:
http://reference.wolfram.com/mathematica/ref/Scaled.html?q=Scaled&lang=en
If you wrap your plot labels in Scaled, they will maintain their relative size.

-Zach



  • Prev by Date: File size 5.5MB
  • Next by Date: Re: installing cdf-reader on chrome under linux?
  • Previous by thread: how export a graphic with given width preserving the ratio of text to image size
  • Next by thread: Problem Importing web site in Mathematica: How to by pass pages asking for login credentials