Re: Controlling scale of Graphics on paper
- To: mathgroup at smc.vnet.net
- Subject: [mg126182] Re: Controlling scale of Graphics on paper
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Mon, 23 Apr 2012 05:43:13 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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 at iee.lu