[R] Help with matplot

jim holtman jholtman at gmail.com
Wed Oct 15 14:17:34 CEST 2008

What do you mean by removing them?  Do you want the whole row/column
deleted?  Have you tried setting them to NA so that the points are not
plotted?  You have to be a little more specific on what type of action
you want to have happen when the criteria is met.  Of course the
answer is "anything is possible in R".

On Wed, Oct 15, 2008 at 6:19 AM, Garcia Carreras, Bernardo
<bernardo.garcia-carreras08 at imperial.ac.uk> wrote:
> Hi, I apologise in advance for the naïve question. I have large matrices that I want to plot. I currently use color2D.matplot. However, these matrices contain many values of no interest (i.e. where there is no data, the figure -999 is automatically displayed). Is there any way of removing these from the matrices to be plotted by matplot? An obvious possibility is setting them all to 0, but that introduces 'false data'. I also see that matplot does not have a way of dealing with NaNs. Is this actually the case? Thanks in advance for any help you can give me!!
> Bernardo
> ______________________________________________
> R-help at 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.

Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

More information about the R-help mailing list