[R] Modify Y axis

David Winsemius dwinsemius at comcast.net
Wed Nov 21 20:58:40 CET 2012


On Nov 21, 2012, at 9:44 AM, Elli wrote:

> How you can change the Y-axis intervals in a graph?
>
> Use and ylim command but this command only changes the minimum and  
> maximum
> values ​​of the axis, I want to do is take the axis values ​​ 
> from 10 to 10
> for example
> How I can do?

?axis

You will probably need to suppress the default axis annotation. In  
base graphics this is done with yaxt="n", which should be remembered  
as "y-axis type is 'none'".
--

David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list