Re: [R] R: Multi-line texts in plots

2009-03-23 Thread Greg Snow
1.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of mau...@alice.it > Sent: Friday, March 20, 2009 11:41 PM > To: baptiste auguie > Cc: r-help@r-project.org > Subject: [R] R: Multi-line texts in plots

Re: [R] R: Multi-line texts in plots

2009-03-21 Thread Jim Lemon
mau...@alice.it wrote: Now that I have my list of flags with theri respective values (thanks to all those who posted their suggestions): Flags Values 1 TrendOff 0 2 MOdwt 1 3ZeroPadding 1 4 Step1HSOff 1 5 Step1NumHSOff 4 6 Step1NumHSOff

[R] R: Multi-line texts in plots

2009-03-20 Thread mauede
ed",font.axis=1,xpd=TRUE, cex.lab=0.8,cex.axis=0.8) cycle <- seq(1,21,1) plot(cycle, alpha[,1], pch=1, type = "l", col=3, lty=2, main="Alpha") points(cycle, alpha[,2], pch=3, type="b", lty=1, pch=4, col=6) legend("topright", legend=c("MEM","

[R] R: Multi-line texts in plots

2009-03-20 Thread mauede
o:ba...@exeter.ac.uk] Inviato: ven 20/03/2009 12.56 A: mau...@alice.it Cc: r-help@r-project.org Oggetto: Re: [R] Multi-line texts in plots Hi, it would help if you provided a minimal example. Here is one approach I often use with the plotting package ggplot2, parameters <- expand.grid(m=c(0, 1

Re: [R] Multi-line texts in plots

2009-03-20 Thread baptiste auguie
Hi, it would help if you provided a minimal example. Here is one approach I often use with the plotting package ggplot2, parameters <- expand.grid(m=c(0, 1), s=seq(0.1, 1,length=10)) x <- seq(-5, 5, length=300) foo <- function(m, s){ data.frame(x=x, y=dnorm(x, m, s), m=factor(m), s=fa

[R] Multi-line texts in plots

2009-03-20 Thread mauede
I am running a simulation many times changing one parameter each time and recording the outcome. I have to produce a plot to make a sense of the bunch of numbers I get from every run. My problem is to insert a multi-line text to keep track of which result correspond to which parameter values. A