powered by
Draw a legend beneath the plot
drawLegend(fish, xpos = 0, ypos = -5, nrow = NULL, cex = 1)
A fish object
The x coordinate at which to draw the left side of the legend (default 0)
The y coordinate at which to draw the top of the legend (default -5)
An integer number of rows which should be used for the legend
A numerical value giving the amount by which the legend should be magnified relative to the default.
No return value, outputs on graphics device
# NOT RUN { drawLegend(fish) drawLegend(fish, 20, -20, 3) # }
Run the code above in your browser using DataLab