Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Save a graphic

  • To: mathgroup at
  • Subject: [mg51411] Re: Save a graphic
  • From: AES/newspost <siegman at>
  • Date: Sat, 16 Oct 2004 04:20:48 -0400 (EDT)
  • References: <> <cknubs$60b$>
  • Sender: owner-wri-mathgroup at

In article <cknubs$60b$1 at>,
 Tomas Garza <tgarza01 at> wrote:

> Use Put (>>) directly on your plot. Then you may recover it later with Get
> (<<) and plot it again with Show. For example,
> In[1]:=
> g = Plot[Sin[x], {x, -Pi, Pi}];
> In[2]:=
> g >> "savedPlot";

If there's a memory overflow problem involved, will ">>" release the 
memory used by g? -- or should he also add


or even 


Which would be preferred?

And I assume he could use something like

    g >> "savedPlot"<>ToString[kkk]

to assign a notebook-generated serial number kkk to each saved plot?

  • Prev by Date: Re: comment lines
  • Next by Date: Re: Very basic question: Zoom into a 2-D plot with the mouse
  • Previous by thread: Re: Save a graphic
  • Next by thread: Need to calculate Nyquist frequency from data