Displaying 3 results from an estimated 3 matches for "revaxis".
Did you mean:
relaxes
2010 Mar 24
1
Changing axis origin for plot
Hi all,
I am plotting data using the simple plot function:
plot(data$x, data$y)
which results in a standard plot with the axis origin in the lower left corner.
^
|
|
|
|
| O O
| O O
---------------------------------->
Since my data are screen coordinates I need mirrored axis so that the
origin for both axis is in the upper left corner; like this:
|-------------------------------->
| O
2008 Nov 18
4
Changing the position of the origin
Hi all,
Can anyone tell me how I can make 0,0 start at the top left hand
corner of a graph, instead of the typical lower left hand corner? I've
tried to plot with axes=F and then putting on the axes later, but I
want the points to correspond to the axes.
Thanks,
Kang Min
2010 Mar 24
0
R-help ordinal regression
...ons or call to "par" that will
> change which axes
> are displayed. You can do what you want like this:
>
> plot(...,xaxt="n")
> axis(3,...)
>
> unless you want to reverse the direction of the ordinate
> (y-axis). In
> that case, have a look at the revaxis function in the
> plotrix package.
>
> Jim
>
>
>
> ------------------------------
>
> Message: 101
> Date: Wed, 24 Mar 2010 20:30:29 +1100
> From: Jim Lemon <jim at bitwrit.com.au>
> To: cbarcelo <caren.barcelo at gmail.com>
> Cc: r-help at r-...