[R] ticks labels and R

Eugene Semenko sea at sao.ru
Sun Mar 18 17:36:50 CET 2007


Hi,
I have plot a graphics by next way:
par(mar=c(5,5,1,1), font.axis=3, ps=14, xaxs="i", yaxs="i", lab=c(18,18,7), 
font
.lab=3);
plot(l, b, type="n", xlim=c(0,360), ylim=c(-90,90), xlab="l, deg", ylab="b, 
deg");
points(l, b, cex=vel/60, col=1, pch=21);

On this plot I have axis x (denoted by l) ranged in [0,360] with labeling step 
20. But I want to set this step equal to 60 and want to set format of labels 
to degrees. I'm newbie in R and don't know how to change parameters of axis. 
Especially important to add sign of degree to each tick label.
	Thanks in advance,
-- 
---------------------------------------------------------------------------------------
Eugene A. Semenko
e-mail: sea at sao.ru              Special Astrophysical Observatory RAS,
WWW: http://tiger.sao.ru/       Nizhnij Arkhyz
phone: +7 87878 46 5 77         Karachai-Chercassian Republic,
fax: +7 87878 46 5 27           Russia, 369167



More information about the R-help mailing list