[PLUG] simple plotting question for 'R'

Russell Senior seniorr at aracnet.com
Sat Nov 5 16:52:09 UTC 2005


>>>>> "David" == David Fleck <david.fleck at mchsi.com> writes:

David> I'm trying to learn to use the statistics package R
David> (http://www.r-project.org/).  I want to produce a simple
David> scatterplot of data, with the y-axis origin at 0.  But I can't
David> find anywhere in the provided documentation that explains a way
David> of setting origin points for axes.

David> Anyone out there have experience with this software?

Yeah, I've used it quite a bit, but not an every day thing.

  > help(plot.default)

  > x <- c(1,2,3,4)
  > y <- c(2,4,3,1)
  > plot(x,y,xlim=c(0,5),ylim=c(0,5))

help(foo) is your friend.


-- 
Russell Senior         ``I have nine fingers; you have ten.''
seniorr at aracnet.com



More information about the PLUG mailing list