Message-ID: <504DB1D5.2040107@bitwrit.com.au>
Date: 2012-09-10T09:24:37Z
From: Jim Lemon
Subject: Plot not too dense line plot
In-Reply-To: <1347264851.23650.YahooMailNeo@web120102.mail.ne1.yahoo.com>
On 09/10/2012 06:14 PM, Alaios wrote:
> Dear all,
> I am including in a plot 6 different lines (?lines) with 6 different line types.
> The problem is that I have so dense information that the line types are not visible any more.
>
> In the code below
>
>
> myLength<-length(currentSet)
> plot(seq(from=1,to=myMax,length.out=myLength),currentSet, type="l",xlim=c(1,myMax),axes=F,...)
>
> the myLength is 100.000+ elements.
>
> I would like to ask you how I can print each line including only 500 points.
>
> I have searched already and there is no parameter for that in plot or in lines.
>
> Probably I need to alter the currentSet variable before giving it as an input to the plot or lines function.
>
> Could you please help me?
>
Hi Alex,
My guess is that you want to reduce the local variation in the lines. If
so, take the mean of each 200 values (or 1/500th of myLlength) and plot
that.
Jim