Skip to content
Prev 82500 / 398506 Next

plot

On 09-Dec-05 Rhett Eckstein wrote:
This happens because 'plot' is based on plotting the entire
series of points which you give it, whereas your data (on the
basis of the 'time' variable) consists of 2 series.

So the solution is to plit it:

  plot(C1[(1:8),],type="l",col="green")
  lines(C1[(9:16),],col="blue")

(where I've added the "col" option to illustrate how to identify
the two series by colour).

Best wishes,
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 09-Dec-05                                       Time: 12:24:23
------------------------------ XFMail ------------------------------