| AHELP for CIAO 4.5 ChIPS v1 | hide_line |
Context: lines |
Synopsis
Hide the specified line.
Syntax
hide_line() hide_line( [ChipsId] ) hide_line( "line_id" ) hide_line( "all" )
Description
Depending on the argument, this command hides the current line, the line indicated in a ChipsId structure or by the line_id, or all lines.
- (no argument) - the current line is hidden.
- ChipsId - an optional ChipsId structure containing values to modify the currency state for the command.
- line_id - identification tag given to each object that is created; use this to hide a specific line.
- all - hides all lines.
The line is not deleted, just hidden. The display_line command makes it visible again.
Example 1
chips> add_line(0, 0, 1, 1) chips> hide_line()
Create a line, then hide the current line.
Example 2
chips> id = ChipsId() chips> add_line(.1, .3, .9, .3, "id=flat") chips> add_line(.3, .8, .8, .2, "id=slope") chips> id.line = "flat" chips> hide_line(id)
Two lines are created; the second line is current after it is created. The id.line command sets the line value of the ChipsId structure to the first line. That line is then hidden.
Example 3
chips> add_line(.1, .3, .9, .3, "id=flat")
chips> add_line(.3, .8, .8, .2, "id=slope")
chips> hide_line("all")Two lines are created, then the hide_line 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
- lines
- add_hline, add_line, add_vline, current_line, delete_line, display_line, get_line, move_line, set_line, shuffle_line

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