|AHELP for CIAO 4.9 ChIPS v1||
Shuffles the rendering order of the contour within the depth.
shuffle_contour() shuffle_contour(direction) shuffle_contour(id) shuffle_contour(id, direction)
The function arguments.
|direction||What direction should the object be shuffled? The options are: chips_forward, chips_backward, chips_front, and chips_back. The default value is chips_forward.|
|id||A ChipsId structure identifying the item, or a string containing the name of the object.|
The shuffle_contour command modifies the location of the specified contoru within the stack of items at the same depth. It may be used to position a contour in front of or behind other objects which are at the same depth.
chips> set_preference("contour.thichkess", "5") chips> add_contour([1,3,5,8,2,1,0,0,1], 3, 3, "color=goldenrod") chips> add_contour([2,0,3,4,5,7,2,1,1], 3, 3, "color=tomato") chips> add_contour([5,3,4,2,0,0,1,0,2], 3, 3, "color=firebrick") chips> shuffle_contour(chips_backward)
Create three overlapping contours. Move the current contour one step back in the stack.
chips> shuffle_contour("ctr1", chips_front)
Move the contour "ctr1" to the front of the depth.
By default, objects within a depth are ordered chonologically based on when they were added to that depth. The objects are stacked with the oldest item at the back of the list and the newest item at the front of the list. This order dictates how the objects overlap when drawn.
The shuffle command changes the object's position within the stack. Any given object may be shuffled forward or backward one place in the stack or sent directly to the front or back of the stack.
The direction options:
|chips_back||Send to the back of the stack.|
|chips_front||Send to the front of the stack.|
|chips_forward||Move one step closer to the front of the stack.|
|chips_backward||Move one step further back along the stack.|
The shuffle routines can only operate on a single object. An error is returned if currency is set to "all".
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.
- add_contour, current_contour, delete_contour, display_contour, get_contour, hide_contour, set_contour
- collapse_depths, display_depth, get_default_depth, hide_depth, reindex_depth, set_default_depth
- shuffle_colorbar, shuffle_image
- shuffle, shuffle_back, shuffle_backward, shuffle_forward, shuffle_front