| AHELP for CIAO 4.5 ChIPS v1 | save_state |
Context: saving |
Synopsis
Saves the ChIPS session into a state file.
Syntax
save_state(filename)
Description
- filename - output state file.
The save_state command saves the current ChIPS session into a platform-independent state file. This output file is not human readable; see "ahelp make_script", for an editable set of commands that can re-create the current visualization.
A partial history of the undo command is also saved, but it does not include history cached in a file. This limits which commands may be undone in the restored session.
The save session can be restored with the load_state command.
Example 1
chips> save_state("chips.state")Save the session to the file "chips.state". This file can then be loaded using the load_state() command.
Example 2
chips> save_state("/data/chips/plot.chips")Save the session to the file "/data/chips/plot.chips".
Changes in CIAO 4.5
The state file now records the setting of the ticklabel.style settings of axes, which means that state files saved in CIAO 4.5 will not be readable in CIAO 4.4 or earlier.
Bugs
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.
See Also
- saving
- load_state, make_script

![[ChIPS Logo]](../imgs/chips_logo_navbar.gif)