Display the specified axis.
display_axis();
display_axis( [ChipsId] );
display_axis( "axis_id" );
display_axis( "all" );
Depending on the argument, this command displays the current
axis, the axis indicated in a ChipsId structure or by the
axis_id, or all
axes.
-
(no argument) - the current axis is displayed.
-
ChipsId - an optional ChipsId structure containing
values to modify the currency state for the command.
-
axis_id - identification tag given to each object that
is created; use this to display a specific axis.
-
all - displays all axes.
chips> add_curve([-23,4,15],[10,8,11]);
chips> hide_axis();
chips> display_axis();
Create a curve and hide the axis (or axes), then
display the current axis.
chips> id = ChipsId();
chips> add_plot(.6, .6, .9, .9);
chips> add_curve([-4,0,4],[0,5,10]);
chips> hide_axis();
chips> add_plot();
chips> add_curve([-4:4],[-4:4]^2);
chips> current_plot("plot1");
chips> id.axis = "ax1";
chips> display_axis(id);
Two plots are created, each containing a curve, and the
axes of the first plot are hidden. The id.axis command
sets the axis value of the ChipsId structure to the
x-axis of the first plot. That axis is then
displayed.
chips> add_plot(.6, .6, .9, .9);
chips> add_curve([-4,0,4],[0,5,10]);
chips> add_plot();
chips> add_curve([-4:4],[-4:4]^2);
chips> current_plot("all");
chips> hide_axis("all");
chips> display_axis("all");
Two plots are created and both made current. The axes are
all hidden, then the display_axis command displays them
all.
- sl.chips
-
add_axis,
bind_axes,
chipsid,
collapse_depths,
currency,
current_axis,
delete_axis,
depthcontrol,
display_depth,
get_axis,
get_default_depth,
get_xaxis,
get_yaxis,
hide_axis,
hide_depth,
hide_major_ticks,
hide_minor_ticks,
linear_scale,
log_scale,
move_axis,
reindex_depth,
reverse_axes,
set_arbitrary_tick_positions,
set_axis,
set_default_depth,
set_xaxis,
set_yaxis,
show_major_ticks,
show_minor_ticks,
shuffle_axis,
unbind_axes
|