MathGroup Archive 2000

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

Search the Archive

Re: save a plot

  • To: mathgroup at
  • Subject: [mg25185] Re: save a plot
  • From: "Allan Hayes" <hay at>
  • Date: Tue, 12 Sep 2000 21:24:28 -0400 (EDT)
  • References: <8pkkc7$>
  • Sender: owner-wri-mathgroup at


Plot[x^2, {x, 0, 1}] // InputForm

Will output the explicit Mathematica code that can be saved with the notebook and
the picture.(InputForm shows the code explicitely instead of hiding it
behind the special form - Graphics -.

Plot[x^2, {x, 0, 1}] >> "myGraphics"

Will save the code to the file "myGraphics", or a different address.
The code can then be recovered with

<< "myGraphics"

If you want to see the code then use InputForm on it.

Allan Hayes
Mathematica Training and Consulting
Leicester UK
hay at
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Martin Richter" < at> wrote in message
news:8pkkc7$m3c at
> Hi
> I'm making some plots, for which is takes Matematica a long time to plot.
> After making some plots I export them to EPS and is using Show to include
> different figures in one plot. Sometimes I need to include/exclude a
> or rescale the plot after the figure was initial made. If I have closed
> reopen my session the plots are not saved (of course the pictures but I
> can't manipulate the plot).
> Basic question: Is there a way to save plots or just the points used to
> generate the plots such that I don't need to redo all the calculations or
> make a list of points myself ?
> (I Have looked at MPS format and from that you can actually get the points
> as properly with EPS but I hope there is and easier way).
> Thanks for any help
> Martin

  • Prev by Date: Re: PseudoInverse for exact matrices
  • Next by Date: Re:Random spherical troubles
  • Previous by thread: Re: save a plot
  • Next by thread: Displaying 3D data as 2D + color ?