s-news
[Top] [All Lists]

Customize ticks and label of x-axis

To: s-news@lists.biostat.wustl.edu
Subject: Customize ticks and label of x-axis
From: Tristan Lorino <tristan.lorino@lcpc.fr>
Date: Tue, 10 Jan 2006 09:42:07 +0100
Organization: LCPC
Reply-to: Tristan Lorino <tristan.lorino@lcpc.fr>
Hi,

I have a graphic with dates in x-axis: it's available at
http://daedale.free.fr/erwin/example.png

All the dates can't stand together, because of their length. I would
like to know if it is possible to put one date (and its tick) under the
x-axis, the next (date and tick) above the x-axis, the next under, etc.

Thank you,
Tristan Lorino

PS : The graphic code is
plot(y,type="b",pch=16,ylim=c(.45,.75),axes=F,xlab="Années",ylab="",col=2)
text(-3,.6,"CFT",srt=90)
axis(2,at=c(.45,.5,.55,.6,.65,.7,.75),lab=c("0,45","0,50","0,55","0,60","0,65","0,70","0,75"),adj=0.8)
axis(1,at=1:29,lab=gag,cex=.9)
axis(3,at=1:29,eff,cex=.8,srt=90,adj=.1)
mtext("Nombre de relevés",side=3,outer=T,cex=.8)
box()


-- 
Laboratoire Central des Ponts et Chaussées
[Division ESAR ? Section AGR]
Route de Bouaye BP 4129
44341 Bouguenais Cedex
France
Tél 33 (0)2 40 84 56 18
Fax 33 (0)2 40 84 59 92


<Prev in Thread] Current Thread [Next in Thread>