search for: colfill

Displaying 2 results from an estimated 2 matches for "colfill".

Did you mean: celfile
2009 Sep 02
1
Howto Superimpose Multiple Density Curves Into One Plot
...unique ID. I tried to use "sm" package, with this code, but without success. __BEGIN__ library(sm) dat <- read.table("mydat.txt"); plotfn <- ("~/Desktop/flowgram_superimposed.pdf"); pdf(plotfn); sm.density.compare(dat$V1,dat$V2, xlab = "Flow Signal") colfill <- c(2:10); legend(locator(1), levels(dat$V2), fill=colfill) dev.off(); __END__ Please advice what's the right way to do it or if there is alternative way to do it? I am trying to get this kind of figure: http://img524.imageshack.us/img524/2736/testl.png - G.V.
2010 Jun 09
0
Plotting Question
...tom and examine the Comparing Groups via Kernel Density). A graph (attached) produced using my data: > attach(SoilVegHydro) > vegtype.f <- factor(Physiogomy) > sm.density.compare(meanAnnualDepthAve, vegtype.f, xlab="Mean Annual Depth") # create color fill patterns >colfill <- c(2:(2+length(levels(vegtype.f)))) > legend(locator(1), levels(vegtype.f), fill=colfill) (See attached file: MeanAnnualDepth_Density.png) Thanks Steve Steve Friedman Ph. D. Spatial Statistical Analyst Everglades and Dry Tortugas National Park 950 N Krome Ave (3rd Floor) Homestead,...