[R] returning plot tick marks

Spencer Graves spencer.graves at pdf.com
Thu Dec 11 23:45:28 CET 2003


Is this what you want: 

 pretty(1:1000)
[1]    0  200  400  600  800 1000

hope this helps.  spencer graves

DCF wrote:

>Is there an easy way to return the values of the axis tick marks resulting from plot.default? For example, plot(1:1000) would return 0, 200, 400, 600, 800, 1000 from the x axis.
> 
>Thanks,
> 
>Max
>
>
>
>---------------------------------
>
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>  
>




More information about the R-help mailing list