Chandra X-Ray Observatory
Skip to the navigation links
Last modified: December 2013

Jump to: Description · Examples · Bugs · See Also

AHELP for CIAO 4.10 ChIPS v1


Context: images


Delete the specified colorbar.




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 color bar is deleted, otherwise the argument determines what to delete.


Example 1

chips> add_colorbar(0, 0.5, ["orientation", "vertical"])
chips> delete_colorbar()

Create a colorbar, then delete it.

Example 2

chips> add_colorbar(0, 0.5, "id=vert orientation=vertical")
chips> add_colorbar(.5, -.05)
chips> delete_colorbar("vert")

Two colorbars are created; the second colorbar is current after it is created. The first colorbar is deleted by using its name. The following can also be used to delete a specific colorbar (the advantage for the following is that the window, frame or plot can also be changed in the ChipsId structure):

chips> id = ChipsId()
chips> id.colorbar = "vert"
chips> delete_colorbar(id)


See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

chipsid, currency
add_colorbar, current_colorbar, display_colorbar, get_colorbar, hide_colorbar, move_colorbar, set_colorbar, shuffle_colorbar

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.