Dean
Try:
plot(c(-0.25,18),c(0, max(patient10)),type="n", ylab="SD of POST
estimator", xlab="")
title(xlab='Scans\n(a)', line=3)
Peter Alspach
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of dvrecko at sfu.ca
> Sent: Thursday, 5 April 2007 12:21 p.m.
> To: r-help at stat.math.ethz.ch
> Subject: [R] Moving plot labels
>
> Hi.
>
> I'm sure this is a simple problem, yet I can't seem to get
> simple help for it.
>
> I am simply trying to move my xlab in plot().
>
> I am currently using the following commands:
>
> plot(c(-0.25,18),c(0, max(patient10)),type="n", ylab="SD of
> POST estimator", xlab="Scans \n (a)")
>
> But when the plot prints, the xlab is printed over top the
> xaxis. I tried adjusting mar(), but this just works with the
> margins outside the plotting area. What is a simple fix? Is
> there a single command I can add that adjusts the size of the
> plotting area within the area controlled by mar()?
>
> Thanks very much.
>
> Dean
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
______________________________________________________
The contents of this e-mail are privileged and/or confidenti...{{dropped}}