Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

ImageSize: can be chosen only once per session?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18255] ImageSize: can be chosen only once per session?
  • From: Timo Felbinger <timof at uranos.quantum.physik.uni-potsdam.de>
  • Date: Thu, 24 Jun 1999 14:24:37 -0400
  • Organization: University of Potsdam
  • Sender: owner-wri-mathgroup at wolfram.com

ImageSize in Mathematica 3.0 doesn't work as expected for me, as can be seen
when evaluating the following two expressions in Mathematica 3.0:

  point1 = Graphics[
    { PointSize[ 1.0 ] , Point[ { 0, 0 } ] }
  , ImageSize -> { 100 , 100 }
  , AspectRatio -> 1
  , PlotRange -> { { -1 , 1 } , { -1, 1 } }
  ]
  ; Display[ "point1.eps", point1, "EPS", ImageSize -> { 100, 100 } ]

  point2 = Graphics[
    { PointSize[ 1.0 ] , Point[ { 0, 0 } ] }
  , ImageSize -> { 200 , 200 }
  , AspectRatio -> 1
  , PlotRange -> { { -1 , 1 } , { -1, 1 } }
  ]
  ; Display[ "point2.eps", point2, "EPS", ImageSize -> { 200, 200 } ]

The first one does what it should, but in the second EPS file, the
Point[] is half-way out of the bounding box.
Further tests seem to indicate that I can choose an arbitrary value for
ImageSize exactly once per session; if I use a different value at a
later time, the vertical position of the graphics with respect to the
bounding box margins will be wrong. What am I missing here?

--
Timo Felbinger   <Timo.Felbinger at quantum.physik.uni-potsdam.de>
Quantum Physics Group
Institute of Physics
University of Potsdam, Germany



  • Prev by Date: Re: Forcing Re[]'s to be Real
  • Next by Date: Re: Moving average type process
  • Previous by thread: Re: phasing out support for older versions
  • Next by thread: SIMPLIFY AND SQUARE ROOTS