Re: [R] plot only non-zero values

2012-03-18 Thread Uwe Ligges
On 17.03.2012 10:19, Joshua Wiley wrote: What about just setting them to missing and plotting? md- yourdata md[md==0]- NA My other idea depending how you want the plot to look would be to try something where 0 values get a blank colour or null plotting value Or the OP is going to just

Re: [R] plot only non-zero values

2012-03-17 Thread Joshua Wiley
What about just setting them to missing and plotting? md - yourdata md[md==0] - NA My other idea depending how you want the plot to look would be to try something where 0 values get a blank colour or null plotting value On Mar 16, 2012, at 22:53, Noah Silverman noahsilver...@ucla.edu wrote:

[R] plot only non-zero values

2012-03-16 Thread Noah Silverman
Hi, i have some data in a matrix. It has zero values scattered throughout, at random. I'd like to create a line plot, with a line for each row, that *excludes* the zero or NA values. The data looks like this (toy example) 10 12 21 0 23 0 43 0 NA 41 0 0 0 34 35 0 35 0 44 0 NA NA NA 3 2 5 0 3