semilogplot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Graphics : Packages : plots : semilogplot

plots

 semilogplot
 semi-logarithmic plot of functions where the horizontal axis has a logarithmic scale

 Calling Sequence semilogplot(f, h, v, options)

Parameters

 f - function(s) to be plotted h - horizontal range v - (optional) vertical range options - (optional) options as described in plot/options

Description

 • 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.

Examples

 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{semilogplot}\left(\mathrm{log}\left[10\right]\left(x\right),x=1..10\right)$
 > $\mathrm{semilogplot}\left(\mathrm{cos}\left(x\right)+\mathrm{sin}\left(x\right),x=1..2\mathrm{\pi }\right)$

Reproduce the above plots using the operator form of input.

 > $\mathrm{semilogplot}\left(x↦\mathrm{log}\left[10\right]\left(x\right),1..10\right)$
 > $\mathrm{semilogplot}\left(\mathrm{cos}+\mathrm{sin},1..\mathrm{\pi }\right)$

Plot multiple curves.

 > $\mathrm{semilogplot}\left(\left\{x↦{2}^{\mathrm{sin}\left(x\right)},x↦{2}^{\mathrm{cos}\left(x\right)}\right\},1..10\right)$

Display logarithmic gridlines along the horizontal axis.

 > $\mathrm{semilogplot}\left(\mathrm{log}\left[10\right]\left(x\right),x=1..10,\mathrm{axis}\left[1\right]=\left[\mathrm{gridlines}\right]\right)$

 See Also