search for: scale_s

Displaying 10 results from an estimated 10 matches for "scale_s".

Did you mean: scales
2011 Jul 08
1
computing functions with Euler's number (e^n)
I am trying to create a set of wavelets in frequency space--namely Cauchy wavelets for an intensity analysis (von Tscharner, 2000). The wavelets are defined by the following formula: [(f/cf)^(cf*scale)]*[e^((-f/cf)+1)^(cf*scale)] where *f *is frequency of length *n*, *cf* is center frequency (defined below) and is an array of *j *columns and *n* row, and scale is a constant. cf = (1/scale)*(j
2009 Aug 19
1
histogram scaling
Hi, I'm drawing two histograms in the same plot.However, my point of comparison is the difference in their x coordinates.But my problem is one histogram is much taller than the other.How can I get them both to the same height? -- Rajesh.J [[alternative HTML version deleted]]
2011 Aug 09
1
ggplot2 setting colors for individual groups.
All, I'm working with ggplot2 to produce some graphics that will be part of my master's thesis. Here's what I would like to do here, (attached is an example of how far I've gotten). I'm working on mapping the values of several different parameters for each station in my study. So far I've been working with scale_color_gradientn to handle the coloring. What I would like
2009 Aug 19
2
ggplot2 legend problem
I'm trying to overlay two histograms using transparency to enable viewing of multiple distributions on a single scale. So far ggplot2 seems to do what I want. However I'm having a problem generating the legend coloring appropriate to each distribution in the plot. Here is a test case to show my best (failed) effort so far: library(ggplot2) x <- data.frame(X=rnorm(1000, mean=0)) y
2010 Oct 20
1
Adding Legend about two quantile lines at ggplot
Hi, all. I'd like to add legend on my graph but I can't. My code is follows. library(ggplot2) score1<-rnorm(100,0,5) score2<-rnorm(400,10,15) mydata<-data.frame(score1,score2) ggplot(mydata,aes(y=score2,x=score1))+geom_point()+stat_quantile(quantiles=c(0.50),col="red")+stat_quantile(quantiles=c(0.90),col="blue",size=2) I like to add legend indicating the
2017 Aug 18
1
help with stacked ggplot
Hi, I am new to R and this is probably a very basic question but I can?t seem to figure out a solution. I am creating a stacked ggplot with the following data and code: PercentageData.csv looks like this: decision treatment percentage labtreatment defect 0 53.49 COMMON defect 1 78.00 ASYMMETRIC defect 2 96.67 PRIVATE coop 0 46.51 COMMON coop 1 22.00 ASYMMETRIC coop 2 3.33 PRIVATE %Load data:
2008 Jan 11
0
New version of ggplot2: 0.5.7
ggplot2 ------------------------------------------------------------ ggplot2 is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and avoid bad parts. It takes care of many of the fiddly details that make plotting a hassle (like drawing legends) as well as providing a powerful model of graphics that makes it easy to produce
2008 Jan 11
0
New version of ggplot2: 0.5.7
ggplot2 ------------------------------------------------------------ ggplot2 is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and avoid bad parts. It takes care of many of the fiddly details that make plotting a hassle (like drawing legends) as well as providing a powerful model of graphics that makes it easy to produce
2011 Nov 08
2
nesting scale_manual caracteristics in ggplot
...;,'B','C','D','E','F','G'), values=c('A'='solid','B'='dotted', 'C'='solid','D'='dashed', 'E'='dashed','F'='dotted', 'G'='dotted'))+ scale_shape_manual(breaks=c('A','B','C','D','E','F','G'), labels=c('A: Line 8','B: Line 9','C: Line 10','D: Line 11', 'E: Line 12 ','F:Line 13','G:Line 14...
2010 Aug 24
0
mlm for within subject design
...ames(m) <- paste('V', 1:5, sep = '') b <- data.frame(site = factor(rep(c('A', 'B', 'C', 'D', 'E'), each = 12)), status = factor(rep(rep(c('D','L'), each = 3), 10)), as.data.frame(m)) qplot(V2, V1, data=b, shape=status) + scale_shape_manual(value=c(1,16)) +facet_wrap(~site,nrow=2) What I would like to do is keep the 2 row shape, keep the order (A,B,C) of the top plots, but have the D and E panels in this example align under the B and C plots. Is this possible using qplot? Many thanks, Ali --Forwarded Message Attachme...