[R] position of first and last axis tick
David Winsemius
dwinsemius at comcast.net
Mon Oct 17 00:16:52 CEST 2011
On Oct 16, 2011, at 3:08 PM, Jonas Stein wrote:
> Hi,
>
> how can i set the position of the first and last tick to the
> borderline of a plot?
>
> The plot should look like this one made in Gnuplot [1].
> Gnu-R adds some space between the ticks and the end of plot.
do you mean like this?
plot(rnorm(25),rnorm(25), xaxs ="i", yaxs="i", xlim=c(-2,2),
ylim=c(-2,2))
>
> [1] http://commons.wikimedia.org/wiki/File:Atmospheric_radiocarbon_1954-1993.svg
>
> kind regards,
>
> --
> Jonas Stein <news at jonasstein.de>
>
> ______________________________________________
> R-help at 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.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list