Thanks Duncan, I achieve this: grid.newpage() for(h in 1:9) { pushViewport(viewport(layout=grid.layout(3,3))) pushViewport(viewport(layout.pos.row=lin[h],layout.pos.col=colu[h])) print(xyplot(tmx[,h]~frequ|as.factor(as.numeric(spf)),groups=as.factor(blm), data=tmx,type="l", xlab="frequency (N)",ylab="Area held (ha)",main=paste(target$name[h],":",target$target[h]), strip = strip.custom(bg="grey",strip.names = F, strip.levels = TRUE, style=4),par.strip.text = list(cex = 0.5),gp=gpar(cex=0.5)), newpage=F) popViewport(1) }
How can one effectively control cex parameters for all labels? I'm not being able to change main labels for example and tick mark labels. Another question Is it possible to add values to each node (point) into the curves? Regards, Paulo -----Original Message----- From: Duncan Mackay [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 14 de Maio de 2008 23:21 To: Paulo Cardoso Cc: [EMAIL PROTECTED] Subject: Re: [R] win.graph() with more than one Lattice plot Paulo you can use the layout command if you use the plot command or using lattice viewports and grid.layout. I have not use layout or lattice equivalents for a while so am not upto date with correct syntax Regards Duncan Mackay Department of Agronomy and Soil Science University of New England ARMIDALE NSW 2351 At 06:53 15/05/2008, you wrote: >Is is possible to accomodate more than a single independent (not resulting >from arranjment of layout=c()) lattice graphs in a single win.graph() >device? >Thanks in advance, > >PS Maybe duplicated > >Paulo > >________________________________ > >De: [EMAIL PROTECTED] em nome de Roland Rau >Enviada: qua 14-05-2008 17:06 >Para: '[EMAIL PROTECTED]' >Assunto: [R] strip white in character strings > > > >Dear all, > >I have several datasets and I want to generate pdf plots from them. >I also want to generate automatically the names of the files. They are >country-specific and the element mycurrentdata[1,1] contains this >information. > >So what I do is something like this: >pdf(file=paste(mycurrentdata[1,1], ".pdf", sep=""), width=...etc) > >The only problem I have is that some of the country names contain white >space (e.g., "United Kingdom"). This is no problem for generating the >pdf plots but it may become problematic during further processing (e.g. >incl. the plots in LaTeX documents). > >Is there an easy function to strip white space out of character strings >(similar to the strip.white=TRUE option in read.table/scan)? > >I'd appreciate any kind of help and I hope I did not miss anything >completely obvious. > >Thanks, >Roland > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. > > > > [[alternative HTML version deleted]] > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.