Synopsis
Display the specified contour.
Syntax
display_contour() display_contour(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 contour is shown, otherwise the argument determines what to show.
Examples
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, current_contour, delete_contour, get_contour, hide_contour, set_contour, shuffle_contour
- depth
- collapse_depths, display_depth, get_default_depth, hide_depth, reindex_depth, set_default_depth