Hi Sir
There is a difficulty in creating a comprehensive graph.
Suppose I have a time series from 1967 to 2006. I have used the following R
code for creating a graph.
plot(Year,Dir,ylab=Annual Maximum Daily Rainfall (mm),cex.lab=1.3
,type=o,lab=c(20,20,25),mgp=c(2.5,1,0),tck=1)
The graph is
Hi Amna,
To have more control on the grid of your plot use the grid function.
Remove the tck argument from your plot call and add, as following:
plot(Year,Dir,ylab=Annual Maximum Daily Rainfall
(mm),cex.lab=1.3,type=o,lab=c(20,20,25),mgp=c(2.5,1,0),asp=1)
grid()
See ?grid to see how to
In this particular case 'An Introduction to R' has a comprehensive
description of graphical parameters with figures (as do all good books on
S/R e.g. MASS4 - since it has the same first author).
On Tue, 2 Jan 2007, Ricardo Rodríguez - Your XEN ICT Team wrote:
--
Ricardo Rodríguez
Your XEN
Prof Brian Ripley[EMAIL PROTECTED] 3/1/2007 09:22
In this particular case 'An Introduction to R' has a comprehensive
description of graphical parameters with figures (as do all good books on
S/R e.g. MASS4 - since it has the same first author).
Thanks, Brian,
I've reached both
Hi all,
Please, while using image() which is the graphical parameter which control the
space between ylab and the y axis? I do need to write a number of relatively
long y labels and I am not able the control, if possible, this space.
See the effect I need to avoid...
On Tue, 2007-01-02 at 17:02 +0100, Ricardo Rodríguez - Your XEN ICT Team
wrote:
Hi all,
Please, while using image() which is the graphical parameter which
control the space between ylab and the y axis? I do need to write a
number of relatively long y labels and I am not able the control, if
--
Ricardo Rodríguez
Your XEN ICT Team
Gavin Simpson[EMAIL PROTECTED] 2/1/2007 17:44
Either of these two gives you the answer
help.search(graphical parameters)
RSiteSearch(graphical parameters margin)
more specifically, read ?par and in particular, the entry for parameter
'mar' and it's