logplot - 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 : 2-D : logplot

plots

  

logplot

  

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

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

logplot(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 logplot command creates a 2-D plot where the vertical axis has a logarithmic scale.  A typical call to the logplot command is logplot(f(x), x=a..b), where f is a real function in x and a..b specifies the horizontal real range on which f is plotted.

• 

The logplot command provides support for two-dimensional log plots of one or more functions specified as expressions, procedures, parametric curves, or lists of points.  For more information on the different input forms, see plot/function.

• 

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.  For more information, see plot/range.

• 

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. For more information, see plot/option.

• 

An alternative method for creating a two-dimensional plot where the vertical axis has a logarithmic scale is to use the plot command with the axis option.

Examples

withplots:

logplot10x,x=1..10

logplotcosx+sinx,x=0..π

Reproduce the above plots using the operator form of input.

logplotx10x,1..10

logplotcos+sin,0..π

Create parametric log plots.

logplotx,tanx,x=1..10,color=green

logplotcos,sin,π..π,color=yellow

Plot multiple curves.

logplotx2sinx,x2cosx,1..10

Plot a list of points.

logplot1,2,3,4,5,6,7,8

Display logarithmic gridlines along the vertical axis.

logplot10x,x=1..10,axis2=gridlines

The command to create the plot from the Plotting Guide is

logplotx2sinx5,1..10,axis2=gridlines

See Also

plot

plot/axis

plot/function

plot/option

plot/range

plots[loglogplot]

plots[semilogplot]