[R] Plot two values on same axes

Rich Shepard r@hep@rd @end|ng |rom @pp|-eco@y@@com
Fri Sep 27 14:32:53 CEST 2019


On Fri, 27 Sep 2019, Rolf Turner wrote:

> You may better off using base R graphics, unless there are considerations
> which demand the use of lattice. Something like this, maybe:
>
> plot(maxtemp ~ sampdate, data=watertemp, type="h", col="red",
>                         <annotation arguments>)
> points(maxtemp ~ sampdate, data=watertemp, type="h",col="blue")

Rolf,

Thanks very much.

Regards,

Rich



More information about the R-help mailing list