Skip to content
Back to formatted view

Raw Message

Message-ID: <rm4tm8-dt2.ln1@news.jonasstein.de>
Date: 2011-10-17T08:13:47Z
From: Jonas Stein
Subject: position of first and last axis tick

>> 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))

That is exactly what i have been looking for. Thank you.

>> [1] http://commons.wikimedia.org/wiki/File:Atmospheric_radiocarbon_1954-1993.svg



-- 
Jonas Stein <news at jonasstein.de>