Skip to content

how to draw image of a data distribution? Thanks

1 message · Jim Lemon

#
Senlin Liang wrote:

            
Hi Senlin,
Try this:

library(plotrix)
plot(p$x,p$y,
  col=color.scale(p$value,extremes=c("green","red"))

Jim