MathGroup Archive 1998

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

Search the Archive

Re: Plots from Previous Session



Eric Mockensturm wrote:
 
> As an example, say you have your computer running overnight to get some
> data and then plot it.  You save and quit.  Then you realize that you'd
> like to overlay some of information on this plot.  Can you make the
> Graphic an input cell and then work with it instead of recalculating
> the data used to make the plot?
> 
> Sincerely,
> Eric Mockensturm
> 
> eric@mote.me.berkeley.edu
> 
> Dynamic Stability Lab
> 1113 Etcheverry Hall
> University of California - Berkeley
> (510) 642-6371
> http://mote.me.berkeley.edu/~eric

Eric:

Two suggestions.
In each case it is the Mathematic code that is saved (the output), not
the PostScript code for the display.

1. Save in a separate file (convenient but you have to keep, and keep
track of, the file).

plt>>savedplt

This can now be recovered

<<savedplt

-Graphics-

% == plt

True

You may want to have a different location for the file.

2. Store in notebook (messy but it is part of the notebook)

A simple way to do this is to enter 

InputForm[plt]

and then change the cell to an input cell ( you may want to remove the
cell label - typing space in front of the expression will do this

-- 
Allan Hayes
Mathematica Training and Consulting
Leicester, UK
hay@haystack.demon.co.uk
http://www.haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642




  • Prev by Date: Re: Plots from Previous Session
  • Next by Date: Re: Speed of writing in Mathematica 3.01
  • Prev by thread: Re: Plots from Previous Session
  • Next by thread: Re: Plots from Previous Session