| AHELP for CIAO 4.5 ChIPS v1 | display_histogram |
Context: histograms |
Synopsis
Display the specified histogram.
Syntax
display_histogram() display_histogram( [ChipsId] ) display_histogram( "histogram_id" ) display_histogram( "all" )
Description
Depending on the argument, this command displays the current histogram, the histogram indicated in a ChipsId structure or by the histogram_id, or all histograms.
- (no argument) - the current histogram is displayed.
- ChipsId - an optional ChipsId structure containing values to modify the currency state for the command.
- histogram_id - identification tag given to each object that is created; use this to display a specific histogram.
- all - displays all histograms.
Example 1
chips> add_histogram([5,8,13], [10, 15, 20], [12, 17, 22], "id=basic")
chips> hide_histogram("basic")
chips> display_histogram()Create a histogram and hide it, then display the current histogram.
Example 2
chips> id = ChipsId()
chips> add_histogram([5,8,13], [10, 15, 20], [12, 17, 22], "id=basic")
chips> hide_histogram("basic")
chips> add_histogram([8,10,14], [12, 17, 22], [14, 19, 24], [1,1,2],
"id=witherrs")
chips> add_histogram([8,10,14], [12, 17, 22], [14, 19, 24], [1,1,2],
["id", "witherrs", "symbol.style", "diamond", "err.style", "capped"])
chips> id.histogram = "basic"
chips> display_histogram(id)Two histograms are created; the second histogram is current after it is created. The id.histogram command sets the histogram value of the ChipsId structure to the first histogram. That histogram is then displayed.
Example 3
chips> add_histogram([5,8,13], [10, 15, 20], [12, 17, 22], "id=basic")
chips> add_histogram([8,10,14], [12, 17, 22], [14, 19, 24], [1,1,2],
["id", "witherrs", "symbol.style", "diamond", "err.style", "capped"])
chips> hide_histogram("all")
chips> display_histogram("all")Two histograms are created and hidden, then the display_histogram 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
- depth
- collapse_depths, display_depth, get_default_depth, hide_depth, reindex_depth, set_default_depth
- histograms
- add_histogram, current_histogram, delete_histogram, get_histogram, hide_histogram, set_histogram, shuffle_histogram
- utilities
- load_fill

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