Re: [R] Problem adding lines to a plot, when y is defined

2013-09-09 Thread David Winsemius
On Sep 9, 2013, at 9:00 AM, Cech, Christian wrote: > Dear all, > > I want to create a line-plot with two lines and some additional scatter-plots. > However, adding a line to the plot does not work when I specify the > y-argument in the plot command, while it does work when y is not specified. >

Re: [R] Problem adding lines to a plot, when y is defined

2013-09-09 Thread Cech, Christian
>> On Sep 9, 2013, at 9:00 AM, Cech, Christian wrote: >> >>> Dear all, >>> >>> I want to create a line-plot with two lines and some additional >>> scatter-plots. >>> However, adding a line to the plot does not work when I specify the >>> y-argument in the plot command, while it does work when y i

Re: [R] Problem adding lines to a plot, when y is defined

2013-09-09 Thread David Winsemius
On Sep 9, 2013, at 12:27 PM, Cech, Christian wrote: >>> On Sep 9, 2013, at 9:00 AM, Cech, Christian wrote: >>> Dear all, I want to create a line-plot with two lines and some additional scatter-plots. However, adding a line to the plot does not work when I specify the

Re: [R] Problem adding lines to a plot, when y is defined

2013-09-09 Thread Enrico Schumann
On Mon, 09 Sep 2013, "Cech, Christian" writes: > Dear all, > > I want to create a line-plot with two lines and some additional scatter-plots. > However, adding a line to the plot does not work when I specify the > y-argument in the plot command, while it does work when y is not specified. > > I

Re: [R] Problem adding lines to a plot, when y is defined

2013-09-09 Thread MacQueen, Don
In the second example, in the three functions that create the plot: plot() lines() points() all must have two arguments, the first of which is the x-values (dates), and the second of which is the y-values associated with the dates. For example, in your second version, where you have points