karine heerah
2010-Feb-03 10:59 UTC
[R] contour function: changing colour according to different levels
Hi everybody, I am using the contour function to draw isobares. And i would like to to bold contours for an interval of 500m and weak contour for an interval of 100m. Can someone help me with this? Thanks a lot Karine _________________________________________________________________ [[elided Hotmail spam]] [[alternative HTML version deleted]]
Paul Hiemstra
2010-Feb-03 11:08 UTC
[R] contour function: changing colour according to different levels
karine heerah wrote:> Hi everybody, > > > > I am using the contour function to draw isobares. And i would like to to bold contours for an interval of 500m and weak contour for an interval of 100m. > > Can someone help me with this? > > > > Thanks a lot > > Karine > > > > > > _________________________________________________________________ > [[elided Hotmail spam]] > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >Please read the posting guide and provide a small working example of your problem. My guess would be to look at the col= argument. cheers, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri intamap.geo.uu.nl/~paul
Hi, I receive too many warnings when I try to read the attached datasets. Could you please tell me where the problem in them? Cheers, Amy _________________________________________________________________ [[elided Hotmail spam]] -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: triazines.txt URL: <stat.ethz.ch/pipermail/r-help/attachments/20100203/25598aaa/attachment.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pyrim.txt URL: <stat.ethz.ch/pipermail/r-help/attachments/20100203/25598aaa/attachment-0001.txt>
Amy, It would help if you told us what you did, and what warnings you received. For instance, what happens with mydata <- read.table("triazines.txt", sep="\t", header=TRUE) You probably also need to delete off those initial blank lines, or use skip=3 in the previous statement (or however many there actually are). Sarah 2010/2/3 Amy Hessen <amy_4_5_84 at hotmail.com>:> > Hi, > > I receive too many warnings when I try to read the attached datasets. Could you please tell me where the problem in them? > > Cheers, > Amy > >-- Sarah Goslee functionaldiversity.org
On 02/03/2010 10:39 PM, Amy Hessen wrote:> > Hi, > > I receive too many warnings when I try to read the attached datasets. Could you please tell me where the problem in them? >Hi Amy, triazines<-read.table("triazines.txt",header=TRUE) pyrim<-read.table("pyrim.txt",header=TRUE) Both work fine for me. Jim