Last modified: December 2013

URL: https://cxc.cfa.harvard.edu/chips/ahelp/hide_plot.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.11 ChIPS v1

hide_plot

Context: plots

Synopsis

Hide the specified plot.

Syntax

hide_plot()
hide_plot(id)

Description

The function arguments.

Argument Description
id A ChipsId structure identifying the item, or a string containing the name of the object.

If no argument is given then the current plot is hidden, otherwise the argument determines what to hide. Note that this does not delete anything; use the display_plot command to make the items visible again.


Examples

Example 1

chips> add_plot()
chips> hide_plot()

Create a plot, then hide it.

Example 2

chips> add_plot(.1, .1, .5, .5, "id=obs2464")
chips> add_plot(.5, .5, .9, .9,"id=obs2463")
chips> id = ChipsId()
chips> id.plot = "obs2464"
chips> hide_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 hidden.

Example 3

chips> add_plot(.1, .1, .5, .5,"id=obs2464")
chips> add_plot(.5, .5, .9, .9,"id=obs2463")
chips> hide_plot("all")

Two plots are created, then the hide_plot command hides 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
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, display_plot, get_plot, grid_objects, move_plot, reposition_plot, set_data_aspect_ratio, set_plot, set_plot_aspect_ratio, split, strip_chart, swap_object_positions