don't use the type argument. You are telling plot to plot points.
also please use dput() to make example code that can be cut and pasted
out of the email right into R, so that your problem is reproducible.
Stephen
On Wed, Apr 1, 2009 at 2:52 PM, Thomas Adams <Thomas.Adams at noaa.gov>
wrote:> I have data that I read in using:
>
> data<-read.table("RAVK2.obs.data",sep="\t")
>
> 'data' looks like this:
>
> ? ? ? ? ? ? ? ? ? V1 ? ?V2
> 1 ?2009-03-25 06:00:00 12.86
> 2 ?2009-03-25 12:00:00 12.80
> 3 ?2009-03-25 18:00:00 12.76
> 4 ?2009-03-26 00:00:00 12.68
> 5 ?2009-03-26 06:00:00 12.66
> 6 ?2009-03-26 12:00:00 12.64
> 7 ?2009-03-26 18:00:00 12.83
> 8 ?2009-03-27 00:00:00 13.33
> 9 ?2009-03-27 06:00:00 13.84
> 10 2009-03-27 12:00:00 14.13
> 11 2009-03-27 18:00:00 14.29
> 12 2009-03-28 00:00:00 14.41
> 13 2009-03-28 06:00:00 14.48
> 14 2009-03-28 12:00:00 14.58
> 15 2009-03-28 18:00:00 14.75
> 16 2009-03-29 00:00:00 15.02
> 17 2009-03-29 06:00:00 15.40
> 18 2009-03-29 12:00:00 15.88
> 19 2009-03-29 18:00:00 16.50
> 20 2009-03-30 00:00:00 16.77
> 21 2009-03-30 06:00:00 16.73
> 22 2009-03-30 12:00:00 16.55
> 23 2009-03-30 18:00:00 16.31
> 24 2009-03-31 00:30:00 16.04
> 25 2009-03-31 06:00:00 15.80
> 26 2009-03-31 12:00:00 15.65
> 27 2009-03-31 18:00:00 15.53
> 28 2009-04-01 00:00:00 15.39
> 29 2009-04-01 06:00:00 15.20
> 30 2009-04-01 12:00:00 15.00
>
> when I use plot(data) the plot looks fine except that the plot symbols are
> broken horizontal lines. How do I change the plot symbol? I have tried:
>
> plot(data, type="p")
>
> and I get the same result.
>
> Thanks,
> Tom
>
> --
> Thomas E Adams
> National Weather Service
> Ohio River Forecast Center
> 1901 South State Route 134
> Wilmington, OH 45177
>
> EMAIL: ?thomas.adams at noaa.gov
>
> VOICE: ?937-383-0528
> FAX: ? ?937-383-0033
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis