Re: [R] Help with matplot

2008-11-13 Thread Marc Schwartz
on 11/13/2008 09:39 AM mentor_ wrote: > Hi, > > two days ago I have asked the list if there is a better way to plot a matrix > using > the following plot command: > > plot(matrix[1,], type="l") > for (i in 2:dim(matrix)[1]) { >lines(matrix[i,], type="l") > } > > I have been told to use t

[R] Help with matplot

2008-11-13 Thread mentor_
Hi, two days ago I have asked the list if there is a better way to plot a matrix using the following plot command: plot(matrix[1,], type="l") for (i in 2:dim(matrix)[1]) { lines(matrix[i,], type="l") } I have been told to use the matplot function, but unfortunately I matplot does not plo

Re: [R] Help with matplot

2008-10-15 Thread jim holtman
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

[R] Help with matplot

2008-10-15 Thread Garcia Carreras, Bernardo
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