Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: save a plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25185] Re: save a plot
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Tue, 12 Sep 2000 21:24:28 -0400 (EDT)
  • References: <8pkkc7$m3c@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Martin,

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
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Martin Richter" <mr.fi at cbs.dk> wrote in message
news:8pkkc7$m3c at smc.vnet.net...
> 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
figure
> or rescale the plot after the figure was initial made. If I have closed
and
> 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 ?