Displaying 1 result from an estimated 1 matches for "temberature".
2011 Nov 21
6
Scatter plot - using colour to group points?
...niversity weather station data
archive.
I am using the following code to create the plot
plot ( x = TEMP3[,"TIME"], y = TEMP3[,"TEMP"], type = "p", col =
TEMP3[,"SITE"], pch = 3, main = "Temperature changes", xlab = "Date", ylab =
"Temberature[C]")
I managed to use col = TEMP3["SITE"] to plot the two different sites( BG1
and EA7) in different colours, but I am struggling to change the colours.
I wanted to up a colour scheme to match the site, so tried
BG1 <- "blue"
EA7 <- "green"
before the...