| AHELP for CIAO 4.5 ChIPS v1 | display_plot |
Context: plots |
Synopsis
Display the specified plot.
Syntax
display_plot() display_plot( [ChipsId] ) display_plot( "plot_id" ) display_plot( "all" )
Description
Depending on the argument, this command displays the current plot, the plot indicated in a ChipsId structure or by the plot_id, or all plots.
- (no argument) - the current plot is displayed.
- ChipsId - an optional ChipsId structure containing values to modify the currency state for the command.
- plot_id - identification tag given to each object that is created; use this to display a specific plot.
- all - displays all plots.
Example 1
chips> add_plot(.1, .1, .5, .5) chips> hide_plot() chips> display_plot()
Create a plot and hide it, then display the current plot.
Example 2
chips> id = ChipsId()
chips> add_plot(.1, .1, .5, .5, "id=obs2464")
chips> hide_plot("obs2464")
chips> add_plot(.5, .5, .9, .9, "id=obs2463")
chips> id.plot = "obs2464"
chips> display_plot(id)Two plots are created; the second plot is current after it is created. The id.plot command sets the plot value of the ChipsId structure to the first plot. That plot is then displayed.
Example 3
chips> add_plot(.1, .5, .5, .9, "id=obs459")
chips> add_plot(.5, .1, .9, .5, "id=obs3456")
chips> hide_plot("all")
chips> display_plot("all")Two plots are created and hidden, then the display_plot command displays them both.
Bugs
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.
See Also
- concepts
- chipsid, currency, depthcontrol
- depth
- collapse_depths, display_depth, get_default_depth, hide_depth, reindex_depth, set_default_depth
- limits
- get_plot_range
- plots
- add_plot, adjust_grid_gaps, adjust_grid_xrelsize, adjust_grid_xrelsizes, adjust_grid_yrelsize, adjust_grid_yrelsizes, clear_plot, current_plot, delete_plot, get_plot, grid_objects, hide_plot, move_plot, reposition_plot, set_data_aspect_ratio, set_plot, set_plot_aspect_ratio, split, strip_chart, swap_object_positions

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