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


Groups > comp.soft-sys.math.mathematica > #9818 > unrolled thread

Re: Controlling scale of Graphics on paper

Started byAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
First post2012-04-26 09:36 +0000
Last post2012-04-26 09:36 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: Controlling scale of Graphics on paper Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-04-26 09:36 +0000

#9818 — Re: Controlling scale of Graphics on paper

FromAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
Date2012-04-26 09:36 +0000
SubjectRe: Controlling scale of Graphics on paper
Message-ID<jnb4up$5lr$1@smc.vnet.net>
Sir, thank you for the suggestion. I guess I don't understand
how to use it yet. In my example use below, I get a pdf with a
circle taking up the whole page no matter what radius I give the
Circle. Here I use a radius of 1 (I use an un-capitalized exportScaled
function name). Could you please give an example where I can produce
pdf's containing circles of specified radius? Thank you, Rob



fig = Circle[{0, 0}, 1] // Graphics;

exportScaled["circle.pdf", fig]


Try this:

Export[NotebookDirectory[] <> "circle.bmp",
 Graphics[Circle[{0, 0}, 1], ImageSize -> 29.812*{5, 5}]]

Do not forget to first save your Mathematica notebook with the above operator somewhere (otherwise NotebookDirectory[] has no sense).
You will get a bmp file containing the image of your circle. I tried, it is 5*5 cm after printing. You can also export the same as a pdf file. Just replace circle.bmp by circle.pdf.
In my case the pdf files appeared corrupted and refused to be printed. I do not know the reason though, it may be local.

If the size in your case appears not exactly the one you expect, try to play with the coefficient (which is 29.812 in the present case).

Have fun, Alexei


Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch@iee.lu




[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web