Re: Plots from Previous Session
- To: mathgroup@smc.vnet.net
- Subject: [mg11797] Re: Plots from Previous Session
- From: Allan Hayes <hay@haystack.demon.co.uk>
- Date: Sat, 28 Mar 1998 00:25:34 -0500
- References: <6fd520$6a6@smc.vnet.net>
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