Re: [R] Moving plot labels

From: Peter Alspach <PAlspach_at_hortresearch.co.nz>
Date: Thu 05 Apr 2007 - 01:51:06 GMT

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@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of dvrecko@sfu.ca
> Sent: Thursday, 5 April 2007 12:21 p.m.
> To: r-help@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@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}}



R-help@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. Received on Thu Apr 05 11:54:53 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 05 Apr 2007 - 03:30:57 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.