MathGroup Archive 2003

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

Search the Archive

Imported Plot =!= Exported Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43230] Imported Plot =!= Exported Plot
  • From: AES/newspost <siegman at stanford.edu>
  • Date: Wed, 20 Aug 2003 22:25:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Following cells are my effort to Export a Plot, then Import it back in 
later on and display it (Mac iBook, OS 9.2, Mathematica 4.2):

    testplot = Plot[x^2, {x, 0, 1}, Frame -> True, 
                            DisplayFunction -> Identity]

    Show[testplot, DisplayFunction -> $DisplayFunction]

    DeleteFile[testplotfile]

    Export["testplotfile", testplot, "EPS"]
    
    Clear[testplot]

    restoredtestplot = Import["testplotfile", "EPS"]

    Show[restoredtestplot]

Results:

1)  Using default sizing, original test plot looks fine. Restored 
      plot has horizontal and vertical axis labels "scrunched up" 
     and overlapping the axis lines.  Looks terrible.  Also, not quite
     the same size as the original plot.

2)  Add ImageSize->6*72 option in creating testplot.  Plot as
     created is enlarged and looks fine.  Restored version is
     NOT enlarged, and has axis labels even more badly scrunched
     up on horizontal and vertical axis lines.

3)  Add ImageSize->6*72 option to both initial plot creation
     and to final "Show[restoredplot]" command.  Restored plot 
     is now also enlarged, but not quite to same size as initial
     plot, and axis labels are still scrunched up, more or less as
     badly as before.

This is NOT associated with using window magnifications other than 100% 
-- and obviously it's not good performance.

Is this fixed -- I hope!! -- in 5.0?


  • Prev by Date: Re: New version, new bugs
  • Next by Date: Re: a bug in mathematica 5?
  • Previous by thread: M5.0 keyboard shortcuts with linux
  • Next by thread: Re: Imported Plot =!= Exported Plot