Re: [R] nice log-log plots

From: Petr Pikal <petr.pikal_at_precheza.cz>
Date: Fri 10 Feb 2006 - 22:13:43 EST


Hi

plot(1:100,1:100, log="xy")
abline(v=seq(0,100,10), lty=3)
abline(h=seq(0,100,10), lty=3)
or

plot(1:100,1:100, log="xy", axes=F)
axis(1, at=(seq(0,100,20)))
axis(2, at=(seq(0,100,10)))

abline(v=seq(0,100,20), lty=3)
abline(h=seq(0,100,10), lty=3)

isn't it nice?
See some other magigraphical parameters in

?par

HTH
Petr

BTW I do not have much time to spent it on such a task either especially when only you know what you want to achieve.

On 9 Feb 2006 at 17:02, Alexandru Codilean wrote:

From:           	"Alexandru Codilean" <tcodilean@geog.gla.ac.uk>
To:             	r-help@stat.math.ethz.ch
Date sent:      	Thu, 09 Feb 2006 17:02:28 +0000
Subject:        	[R] nice log-log plots
Send reply to:  	tcodilean@ges.gla.ac.uk
	<mailto:r-help-request@stat.math.ethz.ch?subject=unsubscribe>
	<mailto:r-help-request@stat.math.ethz.ch?subject=subscribe>

> Dear All,
>
> I am trying to produce log-log plots in R and I was wondering if any
> of you have a 'template' for generating these with 'nice' labels and
> log-log grids?
>
> I know I can set up axes individually and use the intervals I want,
> however, I will be producing a large number of these plots and would
> not like to do this manually for each of them + I am very new to R and
> at the moment do not have much time that I could spend figuring this
> out by myself.....
>
> Any help would be greatly appreciated!
> Thanks
> Tibi
> ____________________________________________________
>
> Alexandru Tiberiu CODILEAN
> PhD Candidate
> Departmental IT Committee PG Rep.
>
> Department of Geographical and Earth Sciences
> East Quadrangle, Room 309
> University Avenue
> University of Glasgow
> Glasgow G12 8QQ UK
>
> Tel: +44 (0) 141 330 4872 ext. 0935
> Fax: +44 (0) 141 330 4894
> Email: tcodilean@ges.gla.ac.uk
>
> Home: http://web.ges.gla.ac.uk/~tcodilean/
> GRASS Mirror: http://pc188.geog.gla.ac.uk/grass/
>
> A gleekzorp without a tornpee is like a quop without a fertsneet (sort
> of)
>
> ______________________________________________
> 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

Petr Pikal
petr.pikal@precheza.cz



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 Received on Fri Feb 10 22:41:48 2006

This archive was generated by hypermail 2.1.8 : Mon 13 Feb 2006 - 22:41:08 EST