[R] Combine x-axis labels size

baptiste auguie ba208 at exeter.ac.uk
Wed Aug 27 19:51:50 CEST 2008


Hi,

I'm not sure I understand what you want, but perhaps:

>
> x <- 1:9
> y <- x
> plot(x, y, ann=F, xaxt="n")
> axis(1, lab=F) -> positions
> mtext(paste(positions), side = 1, line = 1, outer = F, at = test,  
> cex=1:length(positions))


HTH,

baptiste

On 27 Aug 2008, at 18:36, Dani Valverde wrote:

> Hello,
> I would like to combine different label sizes in the same x-axis,  
> for example
> 1 2 3 4 5 6 7 8 9
> How can I do it?
> Best,
>
> Dani
>
> -- 
> Daniel Valverde Saubí
>
> Grup de Biologia Molecular de Llevats
> Facultat de Veterinària de la Universitat Autònoma de Barcelona
> Edifici V, Campus UAB
> 08193 Cerdanyola del Vallès- SPAIN
>
> Centro de Investigación Biomédica en Red
> en Bioingeniería, Biomateriales y
> Nanomedicina (CIBER-BBN)
>
> Grup d'Aplicacions Biomèdiques de la RMN
> Facultat de Biociències
> Universitat Autònoma de Barcelona
> Edifici Cs, Campus UAB
> 08193 Cerdanyola del Vallès- SPAIN
> +34 93 5814126
>
> ______________________________________________
> R-help at 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.

_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag



More information about the R-help mailing list