 loglogplot - Maple Help

Home : Support : Online Help : Graphics : 2-D : loglogplot

plots

 loglogplot
 doubly logarithmic plot of functions Calling Sequence loglogplot(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 loglogplot command creates a 2-D plot where the vertical and horizontal axes have logarithmic scales.  A typical call to the loglogplot command is loglogplot(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 loglogplot command provides support for 2-D log-log plots of one or more functions specified as expressions, procedures, parametric functions or lists of points.  For more information about the different input forms, see plot/function.
 • The horizontal and vertical range arguments h and v define the axes labels and the ranges over which the function is 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 used for the plot command. For more information, see plot/option.
 • An alternative method for creating a 2-D plot where the axes have logarithmic scales is to use the plot command with the axis option. Examples

 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{loglogplot}\left({10}^{x},x=1..10\right)$ > $\mathrm{loglogplot}\left(\mathrm{cos}\left(x\right)+\mathrm{sin}\left(x\right),x=1..\mathrm{Pi}\right)$ Reproduce the above plots using the operator form of input.

 > $\mathrm{loglogplot}\left(x→{10}^{x},1..10\right)$ > $\mathrm{loglogplot}\left(\mathrm{cos}+\mathrm{sin},1..\mathrm{Pi}\right)$ Create log-log plots with multiple curves.

 > $\mathrm{loglogplot}\left(\left\{x→{2}^{\mathrm{sin}\left(x\right)},x→{2}^{\mathrm{cos}\left(x\right)}\right\},1..10\right)$ > $\mathrm{loglogplot}\left(\left\{\mathrm{tan}\left(x\right),{2}^{-x}\right\},x=1..10\right)$ Plot a parametric curve.

 > $\mathrm{loglogplot}\left(\left[\mathrm{cos},\mathrm{sin},-\mathrm{Pi}..\mathrm{Pi}\right]\right)$ Plot a list of points.

 > $\mathrm{loglogplot}\left(\left[\left[1,2\right],\left[3,4\right],\left[5,6\right],\left[7,8\right]\right]\right)$ Display logarithmic gridlines along the axes.

 > $\mathrm{loglogplot}\left(\frac{1}{x}+{x}^{10},x=0.1..10,\mathrm{gridlines}\right)$ 