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


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

Re: Controlling scale of Graphics on paper

From Alexei Boulbitch <Alexei.Boulbitch@iee.lu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Controlling scale of Graphics on paper
Date 2012-04-26 09:36 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jnb4up$5lr$1@smc.vnet.net> (permalink)

Show all headers | View raw


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




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


Thread

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

csiph-web