Dear R users,

I like to see plots with the tickmarks covering all range of data.
For example, instead of

plot(rnorm(100)),

which gives y axis tick marks between -2 and 2, while the data has a wider
range

I usually do this:

x=rnorm(100); plot(x, ylim=range(pretty(range(x)))

where y axis tick marks are between -3 and 3, covering the whole data range.

Is it possible to make this a default option?

thanks
Rosa


-- 
-----------------------------------------------------------------
Secção de Ambiente e Energia
Dep. Eng. Mecanica
Instituto Superior Técnico
Av. Rovisco Pais,1
1049-001 Lisboa
http://meteo.ist.utl.pt

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to