my.legend {SoPhy} | R Documentation

## legend for a spectrum of colours

### Description

the function plots a legend for a spectrum of colours

### Usage

    my.legend(lb.x=0, lb.y=0, zlim, col, cex=0.8, y.intersp=0.02, bg='white')

### Arguments

`lb.x` | x-coordinate of the left bottom corner of the legend box
`lb.y` | y-coordinate of the left bottom corner of the legend box
`zlim` | value range for the colours
`col` | spectrum of colours, obtained by the various palettes.
`cex` | letter size increse
`y.intersp` | the space between the small colour lines; this value might be changed if the size of the legend box is not appropriate.
`bg` | background colour

### Value

`NULL`

### Author(s)

Martin Schlather, schlath@hsu-hh.de http://www.unibw-hamburg.de/WWEB/math/schlath/schlather.html

### Examples

     ## see read.swms2d.table, for example

[Package SoPhy version 1.0.28 Index]