semilogx,semilogy | R Documentation |
Generates semi- and double-logarithmic plots.
semilogx(x, y, ...)
semilogy(x, y, ...)
loglog(x, y, ...)
x, y |
x-, y-coordinates. |
... |
additional graphical parameters passed to the plot function. |
Plots data in logarithmic scales for the x-axis or y-axis, or uses logarithmic scales in both axes, and adds grid lines.
Generates a plot, returns nothing.
Matlab's logarithmic plots find a more appropriate grid.
plot
with log=
option.
## Not run:
x <- logspace(-1, 2)
loglog(x, exp(x), type = 'b')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.