s-news
[Top] [All Lists]

Re: Customize ticks and label of x-axis

To: Tristan Lorino <tristan.lorino@lcpc.fr>, s-news@lists.biostat.wustl.edu
Subject: Re: Customize ticks and label of x-axis
From: "Naomi B. Robbins" <n.robbins@att.net>
Date: Tue, 10 Jan 2006 07:05:48 -0500
In-reply-to: <788151893.20060110094207@lcpc.fr>
References: <788151893.20060110094207@lcpc.fr>
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Tristan,

There is no need to label every tick mark. What you suggest would
produce a cluttered look that would take attention away from the
data. A more serious problem is that you use equally spaced tick
marks for different numbers of years. The first two tick marks
represent five years; the next two four years, and then each pair
represents two years. This makes the slopes in the early part of
the graph misleading.

Naomi

---
Naomi B. Robbins
NBR
11 Christine Court
Wayne, NJ 07470

Phone:    (973) 694-2686
Fax:    (973) 694-6009
naomi@nbr-graphs.com
http://www.nbr-graphs.com
Author of /Creating More Effective Graphs/ <http://www.amazon.com/exec/obidos/ASIN/047127402X/%20ref=nosim/nbrgraphs-20?creative=327641&amp;camp=14573&amp;link_code=as1>

Tristan Lorino wrote:

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()






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