Delete the contents of the plotting area.
-
id - an optional ChipsId structure containing values to modify
the currency state for the command or a string id to
specify the plot.
The clear_plot command deletes all contents of the specified
plot(s) - axes, curves, contours, histograms, and plot
titles. The border axes which define the edge of the plot
area are not removed.
chips> add_curve([0:9], [0:9]);
chips> add_histogram([1,2,3], [4,5,6], "id=\"my hist\"");
chips> add_label(1,8, "Curve and Histogram");
chips> add_label(.1,.9, "New Curve");
chips> clear_plot();
Create a number of objects, then clear the plot area.
chips> split(3,3,.1,.1);
chips> current_plot("all");
chips> add_contour({1,4,5,2},2,2);
chips> clear_plot("plot5");
Create a 3 by 3 grid of plot areas and add the contour to
all of them. The center plot area ("plot5") is cleared by
the clear_plot command.
clear_plot now clears all annotations created in a particular
plot, instead of just those in plot_norm and data coordinates.
- sl.chips
-
add_plot,
add_plotarea,
adjust_grid_gaps,
adjust_grid_xrelsize,
adjust_grid_xrelsizes,
adjust_grid_yrelsize,
adjust_grid_yrelsizes,
current_plot,
delete_plot,
display_plot,
get_plot,
get_plot_range,
grid_objects,
hide_plot,
move_plot,
reposition_plot,
set_plot,
split,
strip_chart,
swap_object_positions
|