`loglog(x)`

`loglog(x,plotspec)`

`loglog(x,y)`

`loglog(x,y, plotspec)`

`loglog(x1,y1, plotspec1, x2, y2, plotspec2,...)`

Inputs | |

`x` |
A matrix. |

`y` |
A matrix. |

`{x1, y1, x2, y2,..}` |
Matrices. |

`plotspec` |
Plot style specification string. |

`{plotspec1, plotspec2,..}` |
Plot style specification strings. |

`loglog(x)`

`loglog`

`[1:n]`

where `n`

is the size of
the input. If `x`

is a matrix, the vectors `x[:,i], i>1`

are plotted against
the first column `x[:,1]`

of the input.
`loglog(x, y)`

`loglog`

`y`

vs.
the columns in `x`

.
The numbers of rows is in `y`

must be identical to the number of rows in `x`

or, if `x`

is a vector, to the number of elements in it.
If the first input is a vector, the

`loglog`

`y`

vs. `x`

are displayed.
If the two inputs have identical number of columns, the function displays the area plot of every column in

`y`

vs. the corresponding column in `x`

.
If the number of columns,

`n`

, in `x`

is not identical to `p`

, the number of
columns in `y`

, the area plots of `y[:,i]`

vs. `x[:,mod(i,n)+1]`

for
`1<=i<=p`

are displayed.
The parameter

`plotspec`

may be used to control the style and the color of
each plot as described in plot.
The call

`loglog(x1,y1, plotspec1, x2, y2, plotspec2,...)`

`loglog(x, y, plotspec)`

`loglog`

plot for each of the triples `{x1, y1, plotspec1}`

, `{x2, y2, plotspec2}`

in the
same manner as the call with three arguments.
>>y=rand(100,1)>>loglog([1:100],y)>>title("Log-Log Plot")>>xlabel("X-Axis")>>ylabel("Y-Axis")