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

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

Search the Archive

Re: Save a graphic

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51411] Re: Save a graphic
  • From: AES/newspost <siegman at stanford.edu>
  • Date: Sat, 16 Oct 2004 04:20:48 -0400 (EDT)
  • References: <200410141036.GAA14923@smc.vnet.net> <cknubs$60b$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <cknubs$60b$1 at smc.vnet.net>,
 Tomas Garza <tgarza01 at prodigy.net.mx> 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

    In[3]:=
    Clear[g]

or even 

    Remove[g]

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