<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Matteo, you might try:<br>
<br>
&nbsp;d = data.frame(a = rnorm(5), b = rnorm(5), c = rnorm(5), t =
as.POSIXct(Sys.time()+1:5))<br>
&nbsp;library(lattice)<br>
xyplot(a+b+c~t, d, auto.key = TRUE)<br>
<br>
Hope this helps,<br>
--<br>
Edzer<br>
<br>
Matteo Dall'Amico wrote:
<blockquote cite="mid:02C5E231-79D0-4C47-B8B8-5BAD170F9771@ing.unitn.it"
 type="cite">Hello,<br>
  <div>I would like to raise a question about plotting: I would like to
plot on the SAME graph the temperature with time of sensors at
different depth.</div>
  <div>That means, I would like to have in the same graph on the x-axis
the time, y-axis the temperature, and on the graph several curves with
different colors representing the different depth.</div>
  <div>I have a file with the first column representing the time,
column 2 representing the temperature at depth1, column 3 the
temperature at depth2... and so on.</div>
  <div>Does someone know how I could do that?</div>
  <div>Thanks a lot in advance,</div>
  <div><br class="khtml-block-placeholder">
  </div>
  <div>Matteo</div>
  <br>
  <div> <span class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
 class="Apple-style-span"
 style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
  <div>---------------------------------</div>
  <div>Matteo Dall'Amico</div>
  <div>PhD candidate</div>
  <div>CUDAM and department of Civil and Environmental Engineering</div>
  <div>Universita' degli Studi di Trento</div>
  <div>Via Mesiano 77 -&nbsp;38050 Trento - Italy</div>
  <div>email: <a moz-do-not-send="true"
 href="mailto:matteo.dallamico@ing.unitn.it">matteo.dallamico@ing.unitn.it</a></div>
  <div>Tel. +39 0461 882610</div>
  <div>Fax +39 0461 882672</div>
  <div><a moz-do-not-send="true" href="http://www.dottorato.it/trento/">http://www.dottorato.it/trento/</a></div>
  <div>---------------------------------</div>
  <br class="Apple-interchange-newline">
  </span></span></span></span></span></span></span> </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
statsgrass mailing list
<a class="moz-txt-link-abbreviated" href="mailto:statsgrass@grass.itc.it">statsgrass@grass.itc.it</a>
<a class="moz-txt-link-freetext" href="http://grass.itc.it/mailman/listinfo/statsgrass">http://grass.itc.it/mailman/listinfo/statsgrass</a>
  </pre>
</blockquote>
<br>
</body>
</html>