MathGroup Archive 2003

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

Search the Archive

EPS margin problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39825] EPS margin problem
  • From: lukki_luk at hotmail.com (Ignace)
  • Date: Sat, 8 Mar 2003 02:48:17 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I use Matematica 4.0 on Windows 2000.
When I Export[] a Mathematica graphic to EPS, the resulting EPS file
has its BoundingBox bottom left corner at (88,4), instead of just
(0,0).

E.g., If I do:
Export["test.eps", Plot[Sin[x], {x, -1, 1}], "EPS"]
the output file starts with:
%!PS-Adobe-2.0 EPSF-1.2
%%BoundingBox: 88 4 376 182
%%HiResBoundingBox: 88 4 376 181.938
%%Creator: (Mathematica 4.0 for Microsoft Windows)
%%CreationDate: (Friday, March 7, 2003) (9:49:52)

When I use Mathematica 4.0 (UNIX) then the same command gives an EPS file
starting with:
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: Mathematica-PSRender
%%BoundingBox: 0 55 288 233

(bottom left corner is at 0 55)

In the two cases the BoundingBox fits correctly around the graphic,
but the bottom left corner isn't at 0 0.

How can I use Export[] to generate EPS files with BoundingBoxes with
bottom left corner at 0 0?

Thanks for the input.

Ignace
ps: I think this worked correctly in 3.0.


  • Prev by Date: Symbols and Lists
  • Next by Date: RE: How to convert string to variable name
  • Previous by thread: RE: Re: Symbols and Lists
  • Next by thread: AW: pattern matching with repeated named patterns