The image.plot() function in {fields} package can draw a legend of customized color legend, which is helpful to annotate figures later for presentation. To do so:
image.plot(col=heat.color(n), legend.only=T)
See also: R Documentation
The image.plot() function in {fields} package can draw a legend of customized color legend, which is helpful to annotate figures later for presentation. To do so:
image.plot(col=heat.color(n), legend.only=T)See also: R Documentation