[R] simple graphing question

stephen sefick ssefick at gmail.com
Tue Apr 8 21:52:42 CEST 2008


On Tue, Apr 8, 2008 at 3:52 PM, stephen sefick <ssefick at gmail.com> wrote:
> Sorry, to have the x-axis to go from 200 to 0 or to reverse the x
>  points-  the line starts on the left hand side of the graph at  x=215,
>  y=0.10301103   ...   and end with x=61, y=0.13828610. does this make
>  sense?  reverse order x-axis in excel is what I would use if this
>  helps
>
>
>
>  On Tue, Apr 8, 2008 at 3:43 PM, Henrique Dallazuanna <wwwhsd at gmail.com> wrote:
>  > Try:
>  >
>  > plot(f$RM~f$TKN, type="b")
>  >
>  >
>  >
>  >
>  > On Tue, Apr 8, 2008 at 4:18 PM, stephen sefick <ssefick at gmail.com> wrote:
>  > >
>  > >
>  > >
>  > > #copy and paste this into R
>  > > f <- (structure(list(TKN = c(0.103011025, 0.018633208, 0.104235702,
>  > > 0.074537363, 0.138286096), RM = c(215, 198, 148, 119, 61)), .Names =
>  > c("TKN",
>  > > "RM"), class = "data.frame", row.names = 25:29))
>  > > plot(f$TKN~f$RM, type="b")
>  > >
>  > > I would like to reverse the X-Axis.  How do I do this?
>  > >
>  > > --
>  > > Let's not spend our time and resources thinking about things that are
>  > > so little or so large that all they really do for us is puff us up and
>  > > make us feel like gods. We are mammals, and have not exhausted the
>  > > annoying little problems of being mammals.
>  > >
>  > >        -K. Mullis
>  > >
>  > >
>  > > ______________________________________________
>  > > 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.
>  > >
>  >
>  >
>  >
>  > --
>  > Henrique Dallazuanna
>  > Curitiba-Paraná-Brasil
>  > 25° 25' 40" S 49° 16' 22" O
>
>
>
>  --
>
>
> Let's not spend our time and resources thinking about things that are
>  so little or so large that all they really do for us is puff us up and
>  make us feel like gods. We are mammals, and have not exhausted the
>  annoying little problems of being mammals.
>
>         -K. Mullis
>



-- 
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

	-K. Mullis



More information about the R-help mailing list