MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

printing 2D graphics with a known scale

  • To: mathgroup at
  • Subject: [mg24286] printing 2D graphics with a known scale
  • From: Maarten.vanderBurgt at
  • Date: Fri, 7 Jul 2000 00:11:28 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


I have some 2D graph where the x-axis goes from -30 mm to 30 mm and the y
axis goes from -40 mm to +20 mm.
Is there a way to print this graph so that 60 mm (or 120 mm for a 2: 1
scale) on my printed  page corresponds exactly to 60 mm on my x- and y-axes
of the graph.

I tried to use gr = Show[Graphics[..mygraphics..], PlotRange -> {{-30, 30},
{-30, 30}}, ImageSize -> 72*60/25.4] and then selected the resulting
graphics and then printed it.

I also tried exporting the graphics to PDF via
Export["c:\\temp\\mygraph.pdf", gr, ImageSize -> 72*60/25.4] and then
printed the resulting PDF file with Adobe Acrobat.

(The factor 72 come from the Mathematica help for ImageSize: "ImageSize->72
xi specifies that the image should have a width of xi inches"; the factor
1/25.4 converts mm to inches).

Both methods did not produce what I wanted.
Has anyone any better solutions?


Maarten van der Burgt

  • Prev by Date: Re: Plotting multiple functions using Map
  • Next by Date: RE: Plotting multiple functions using Map
  • Previous by thread: Re: With[{software=Mathematica}, Frustration]
  • Next by thread: lancon