colors: Vector of colours to form a gradient. Default is c("darkred", "red","white","blue", "darkblue").
colsteps: The number of steps in the gradient. Default is 100.
climits: Sets specific limits for common scaling.
Returns
res: returned array of colour codes
Examples
plot(rnorm(20),col='black')# create a red blue colour gradient for plottingmycol <- ch_col_gradient(rnorm(20), colsteps =100)# plot more random points in transparent blue colourpoints(rnorm(20), col = mycol)