powered by
Add horizontal color scale to existing plot.
HOZscale(z, col, units = "", SIDE = 1, s1 = 0.4, s2 = 0.95)
image matrix
color palette
character string, units
Side of the plot
percent of margin for bottom
percent of margin for top
Graphical Side effect
# NOT RUN { data(volcano) image(volcano, col=terrain.colors(100)) HOZscale(volcano,terrain.colors(100) , units = "", SIDE = 1, s1 = 0.4, s2 = 0.95) # }
Run the code above in your browser using DataLab