search for: xylab

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

Did you mean: ylab
2010 Aug 24
1
xylab formatting
Dear r-help, I'm having trouble formatting xy labels for plot in r. I want to make the following y-label "benzene (mug-3)" where mu is greek and -3 is superscript and benzene is held in an array. I tried this, myname = c("benzene", "etc") plot (c(0:10), ylab = bquote(.(myname[1])~~(mu~g ~m^-3))) but it leaves a space between the "mu" and the
2010 Feb 13
4
Labels on a pyramide
...ackage. I have something like this ############################################ xy.pop<-dados$masfr xx.pop<-dados$femfr #agelabels<-dados$femlab xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11) xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11) xylab<-dados$maslab xxlab<-dados$femlab agelabels<-xylab png("piramide9808.png") par(mar=pyramid.plot(xy.pop,xx.pop,labels=agelabels,top.labels=c("Masculino","","Feminino"), main="Primeiras 10 cancros mais frequentes por sexo...",xycol=xy...