How do I delete a wave from memory?

I'm doing curve fitting and sometimes I need to start over and delete all the waves I just fit (because when I dump later, I don't want them in memory for them to be dumped even if they don't exist).

Currently I am using RemoveFromGraph /Z $(waveName) where waveName is a name of the wave in the set I want to delete. This code works for removing them from the graph, but does not actually delete the wave. After removing, it is still listed in "Data -> Browse Waves..." and I can still access it using WaveList.

How do I delete a wave from memory?
Data->Kill Waves

I think you will have an easier time using Igor if you take the Getting Started tutorial in Igor's Help menu.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
JimProuty wrote:
Data->Kill Waves

I think you will have an easier time using Igor if you take the Getting Started tutorial in Igor's Help menu.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.


Yeah sorry for all the basic questions. I have actually gone through the Getting Started and watched the video series on youtube (which was very useful!). I'm mostly having a hard time finding specific commands for things that I've been doing with the dialogs (I guess I should print out the command manual for bathroom reading...).

While, Data->Kill Waves does not seem to show the waves that I've made from curve fitting, it did show me the command to kill them!

KillWaves waveName works great

Thanks.
It sometimes comes as a surprise that, in Igor, waves are simply data in memory. Graphs and tables are simply different ways to display them, so removing a wave from a graph doesn't kill them. More surprisingly, removing a wave from a table also doesn't kill it. That is different from Excel or Origin.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
schollz wrote:
I'm doing curve fitting and sometimes I need to start over and delete all the waves I just fit (because when I dump later, I don't want them in memory for them to be dumped even if they don't exist).

...

How do I delete a wave from memory?


Before you start your fit, create a new data folder and move to it. All fit results will get dumped there.

Once you are done, just delete the unneeded data folder(s).

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
jjweimer wrote:
schollz wrote:
I'm doing curve fitting and sometimes I need to start over and delete all the waves I just fit (because when I dump later, I don't want them in memory for them to be dumped even if they don't exist).

...

How do I delete a wave from memory?


Before you start your fit, create a new data folder and move to it. All fit results will get dumped there.

Once you are done, just delete the unneeded data folder(s).

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH


Oh, that would be great! How do I do that in Igor though? I don't see the equivalent of mkdir data1 && cd data1