Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10023

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

From bjornson@stanford.edu
Newsgroups comp.soft-sys.math.mathematica
Subject Re: how export a graphic with given width preserving the ratio of text to image size
Date 2012-05-10 08:57 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jofvt4$fvl$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: how export a graphic with given width preserving the ratio of text to image size bjornson@stanford.edu - 2012-05-10 08:57 +0000

csiph-web