Hi all,

I'd like to color outliers differently in image() function, say blue
for below a threshhold value and red for above a threshold value.
I was able to do this in levelplot() by using "col.regions" and "at" parameters.

But for a large matrix, i.e, 8000x200, the figure is just too slim in
levelplot, so I am turning toward using image().
If I use par('bg'=blue), I end up coloring only one color for both
sides of outliers.

Could anyone help me how I can use different colors for both sides of
outliers in image()?
Any help will be greatly appreciated.


Minho

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to