[GRASS-stats] Scatterplot "thinning" (points reduction)?

Markus Neteler neteler at osgeo.org
Mon Aug 17 13:06:18 EDT 2009


On Mon, Aug 17, 2009 at 6:55 PM, Dylan Beaudette<debeaudette at ucdavis.edu> wrote:
> On Monday 17 August 2009, Markus Neteler wrote:
>> On Mon, Aug 17, 2009 at 9:33 AM, Roger Bivand<Roger.Bivand at nhh.no> wrote:
>> > On Sun, 16 Aug 2009, Markus Neteler wrote:
...
> just a quick note on style:
>
> # simpler notation:
> plot(dem ~ raw, data=data, xlab="LST value [°C]", ylab="elevation [m]")
> points(dem ~ filt2, data=data, col="yellow", cex=0.5, pch=3)
> points(dem ~ rst, data=data, col="green", pch=2)

Good point, thanks.

> also note that 'xlab' and other related commands need to be put into a
> high-level plotting command like 'plot()'

Sorry, I messed it up in my previous email: of course it works as you
indicate above...

> finally, you might be able to make the plot in one command with some
> incantation of xyplot() from the lattice package.
>
> did you have a chance to try the kde2() function from MASS?

Will try!

Best
Markus


More information about the grass-stats mailing list