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


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

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-23 09:45 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jn38bm$g8l$1@smc.vnet.net> (permalink)

Show all headers | View raw


I would like to use Mathematica to make printed templates of various 

kinds.  



In one use, a complicated shape is generated mathematically and 

displayed using Graphics or Show, the plot is printed on paper, the 

paper is glued to a piece of wood, which is cut and drilled to the lines 

and center-points.  This requires the ability to control the on-paper 

scale factor, so that a length of 1.0 in a line ends up being one inch 

(or one centimeter) on paper.  



I assume that this is possible, but have not found anything relevant in 

the online documentation.  What I have done is used Mathematica to make 

dolls of machine parts; in this case it was sufficient that all be in 

the same scale, which was achieved using ImageSize->72*6 directives, but 

ImageSize doesn't speak directly to the issue of scale on paper.



It may be that ImageSize->{w,h} can be used, but there is some math 

required.



So, my question is how best to achieve a specified scale on paper.  



TIA,



Joe Gwinn



Dear Joe,



There had been once a discussion on this subject here, though I have no reference to it. The outcome consists in the relation: 

  1 cm = 35.7744 pts. Then if you need to specify the size of your graphics say, 10 cm x 15 cm, you could do the following:



Plot[Sin[x],{x,-π,π},ImageSize→35.7744*{10,15},AspectRatio→1]



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 — Next in thread | Find similar | Unroll thread


Thread

Re: Controlling scale of Graphics on paper Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-04-23 09:45 +0000
  Re: Controlling scale of Graphics on paper Joseph Gwinn <joegwinn@comcast.net> - 2012-04-26 09:26 +0000

csiph-web