Hi: I have a question about the R plot, I change the size of the y axis label from 1 to 2, but part of the word is missing as being cut. So I guess it is over the boudary of the R graphical setting. Would you please help me with it? How to change the boundary so that the full part of my y axis label will appear? Your help is highly appreciated! sincerely hang No pain no gain. That is life , full of sweet and bitter --------------------------------- »ÝÆÕTTÓÎÏ·¾ç£¬ÍæÓÎÏ·£¬Öд󽱣¡ [[alternative HTML version deleted]]
Dear Hang, Take a look at ?par, and in particular the graphical parameters mar and mai, which can be used to adjust the size of the margins of a plot. I hope that this helps. John> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Hang Lai > Sent: Thursday, July 22, 2004 5:14 PM > To: R-help at stat.math.ethz.ch > Subject: [R] help on R "plot" > > Hi: > I have a question about the R plot, I change the size of > the y axis label from 1 to 2, but part of the word is missing > as being cut. So I guess it is over the boudary of the R > graphical setting. > Would you please help me with it? How to change the > boundary so that the full part of my y axis label will appear? > Your help is highly appreciated! > sincerely hang >
I am not sure if I understand your question properly but try this par(mfrow=c(1,3)) plot(1:10, 1:10, xlab="A very long label here") plot(1:10, 1:10, xlab="A very long \n label here") plot(1:10, 1:10, xlab="A very long \n label here", cex.lab=2) Also have a look at help("par"). On Thu, 2004-07-22 at 23:14, Hang Lai wrote:> Hi: > I have a question about the R plot, I change the size of the y axis label from 1 to 2, but part of the word is missing as being cut. So I guess it is over the boudary of the R graphical setting. > Would you please help me with it? How to change the boundary so that the full part of my y axis label will appear? > Your help is highly appreciated! > sincerely hang > > > > No pain no gain. > That is life , full of sweet and bitter > > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >