| AHELP for CIAO 4.5 ChIPS v1 | display_contour |
Context: contours |
Synopsis
Display the specified contour.
Syntax
display_contour() display_contour( [ChipsId] ) display_contour( "contour_id" ) display_contour( "all" )
Description
Depending on the argument, this command displays the current contour, the contour indicated in a ChipsId structure or by the contour_id, or all contours.
- (no argument) - the current contour is displayed.
- ChipsId - an optional ChipsId structure containing values to modify the currency state for the command.
- contour_id - identification tag given to each object that is created; use this to display a specific contour.
- all - displays all contours.
Example 1
chips> add_contour([[1,1,1], [1,3,1], [1,1,1]], 3,3) chips> hide_contour() chips> display_contour()
Create a contour and hide it, then display the current contour.
Example 2
chips> id = ChipsId()
chips> add_contour([[1,1,1], [1,3,1], [1,1,1]], 3,3,
[1.1,1.5,2,2.5],'id=levels')
chips> hide_contour("levels")
chips> add_contour([1,2,5,3,3,6,0,0,1],3,3)
chips> id.contour = "levels"
chips> display_contour(id)Two contours are created; the second contour is current after it is created. The id.contour command sets the contour value of the ChipsId structure to the first contour. That contour is then displayed.
Example 3
chips> add_contour([[1,1,1], [1,3,1], [1,1,1]], 3,3,
[1.1,1.5,2,2.5],'color=lime style=solid')
chips> add_contour([1,2,5,3,3,6,0,0,1],3,3)
chips> hide_contour("all")
chips> display_contour("all")Two contours are created and hidden, then the display_contour 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
- contours
- add_contour, apply_contour_transform, apply_contour_transform_inverse, current_contour, delete_contour, get_contour, get_contour_transform, hide_contour, set_contour, set_contour_transform, shuffle_contour
- depth
- collapse_depths, display_depth, get_default_depth, hide_depth, reindex_depth, set_default_depth

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