|
|
Changes the plot axis to log scale.
log_scale([ChipsId,] [dimension]);
-
ChipsId - an optional ChipsId structure containing
values to modify the currency state for the command.
-
dimension - operate on axis in X dimension (X_AXIS), Y
dimension (Y_AXIS), or both (XY_AXIS). If no dimension is
specified, the command is applied to both axes.
The log_scale command set the axes scale to log for the x
and/or y dimensions of a plot. Any data bound to the axis is
adjusted appropriately.
The limits of axis are adjusted to positive values if any of
them are <= 0.
When the scale of an axis are changed, any axes that are
bound to that axis are also changed, including plot border
axes; see
"ahelp bind_axes"
for more information.
chips> log_scale(XY_AXIS);
Set the current X and Y axis to log scale.
chips> log_scale(X_AXIS);
Set the current X axis to log scale.
chips> id = ChipsId;
chips> id.plot = "plot1";
chips> log_scale(ChipsId,XY_AXIS);
These commands change the X and Y axes of the plot called
"plot1" to a logarithmic scale. For this example the output of the
"info" command is:
Window [win1]
Frame [frm1]
Plot [plot1] (0.15,0.52) .. (0.90,0.90)
Border bottom [bx1] top [bx2] left [by1] right [by2]
X Axis [ax1]
Y Axis [ay1]
Curve [crv1]
Plot [plot2] (0.15,0.15) .. (0.90,0.52)
Border bottom [bx1] top [bx2] left [by1] right [by2]
X Axis [ax1]
Y Axis [ay1]
Curve [crv1]
- sl.chips
-
add_axis,
add_plot,
add_plotarea,
adjust_grid_gaps,
adjust_grid_xrelsize,
adjust_grid_xrelsizes,
adjust_grid_yrelsize,
adjust_grid_yrelsizes,
bind_axes,
clear_plot,
current_axis,
current_plot,
delete_axis,
delete_plot,
display_axis,
display_plot,
get_axis,
get_plot,
get_plot_range,
get_preference,
get_preferences,
get_xaxis,
get_yaxis,
grid_objects,
hide_axis,
hide_major_ticks,
hide_minor_ticks,
hide_plot,
limits,
linear_scale,
load_preferences,
move_axis,
move_plot,
pick_limits,
preferences,
reposition_plot,
reverse_axes,
save_preferences,
set_arbitrary_tick_positions,
set_axis,
set_plot,
set_preference,
set_preference_autoload,
set_preferences,
set_xaxis,
set_yaxis,
show_major_ticks,
show_minor_ticks,
shuffle_axis,
split,
strip_chart,
swap_object_positions,
unbind_axes
|