plots
semilogplot
semi-logarithmic plot of functions where the horizontal axis has a logarithmic scale
Calling Sequence
Parameters
Description
Examples
semilogplot(f, h, v, options)
f
-
function(s) to be plotted
h
horizontal range
v
(optional) vertical range
options
(optional) options as described in plot/options
The semilogplot command creates a 2-D plot where the horizontal axis has a logarithmic scale. The horizontal range must be given in a call to semilogplot.
The semilogplot command provides support for 2-D log plots of one or more functions specified as expressions, procedures, or lists of points. See plot/function for more information on the different input forms.
The horizontal and vertical range arguments h and v define the axis labels and the range over which the function(s) are displayed. They take one of the following forms: string, low..hi, or string=low..hi, where low and hi are real constants. See plot/range for further information.
Remaining arguments are interpreted as options which are specified as equations of the form option = value. These options are the same as for those found with the plot command. See plot/option for more information.
An alternative method for creating a two-dimensional plot where the horizontal axis has a logarithmic scale is to use the plot command with the axis option.
withplots:
semilogplotlog10x,x=1..10
semilogplotcosx+sinx,x=1..2π
Reproduce the above plots using the operator form of input.
semilogplotx↦log10x,1..10
semilogplotcos+sin,1..π
Plot multiple curves.
semilogplotx↦2sinx,x↦2cosx,1..10
Display logarithmic gridlines along the horizontal axis.
semilogplotlog10x,x=1..10,axis1=gridlines
See Also
plot
plot/axis
plot/function
plot/option
plot/range
plots[loglogplot]
plots[logplot]
Download Help Document