`semilogy(x)`

`semilogy(x,plotspec)`

`semilogy(x,y)`

`semilogy(x,y, plotspec)`

`semilogy(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. |

`semilogy(x)`

`semilog`

`[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.
`semilogy(x, y)`

`semilog`

`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

`semilog`

`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

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

`semilogy(x, y, plotspec)`

`semilogy`

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)>>semilogy([1:100],y)>>title("Semi-Log-Y Plot")>>xlabel("X-Axis")>>ylabel("Y-Axis")