diff --git a/inst/doc/dataRetrieval.R b/inst/doc/dataRetrieval.R index 6363b6804ed7642c1b05742cbf708e2b395037e8..670c0c6f0b94640261a0c7c24071a4e8319ff8bc 100644 --- a/inst/doc/dataRetrieval.R +++ b/inst/doc/dataRetrieval.R @@ -178,10 +178,10 @@ siteInfo <- attr(temperatureAndFlow, "siteInfo") par(mar=c(5,5,5,5)) #sets the size of the plot window -plot(temperatureAndFlow$dateTime, temperatureAndFlow$Wtemp_Max, +plot(temperatureAndFlow$Date, temperatureAndFlow$Wtemp_Max, ylab=variableInfo$parameter_desc[1],xlab="" ) par(new=TRUE) -plot(temperatureAndFlow$dateTime, temperatureAndFlow$Flow, +plot(temperatureAndFlow$Date, temperatureAndFlow$Flow, col="red",type="l",xaxt="n",yaxt="n",xlab="",ylab="",axes=FALSE ) axis(4,col="red",col.axis="red") diff --git a/inst/doc/dataRetrieval.Rnw b/inst/doc/dataRetrieval.Rnw index c73b1725a638e4dbc17aaa8ddb3997b87fb7aafb..9217883b755135a0ad613a6c786b03cd23c01b98 100644 --- a/inst/doc/dataRetrieval.Rnw +++ b/inst/doc/dataRetrieval.Rnw @@ -532,10 +532,10 @@ siteInfo <- attr(temperatureAndFlow, "siteInfo") par(mar=c(5,5,5,5)) #sets the size of the plot window -plot(temperatureAndFlow$dateTime, temperatureAndFlow$Wtemp_Max, +plot(temperatureAndFlow$Date, temperatureAndFlow$Wtemp_Max, ylab=variableInfo$parameter_desc[1],xlab="" ) par(new=TRUE) -plot(temperatureAndFlow$dateTime, temperatureAndFlow$Flow, +plot(temperatureAndFlow$Date, temperatureAndFlow$Flow, col="red",type="l",xaxt="n",yaxt="n",xlab="",ylab="",axes=FALSE ) axis(4,col="red",col.axis="red") diff --git a/inst/doc/dataRetrieval.pdf b/inst/doc/dataRetrieval.pdf index f0a880e77aaa60d3902122a04571c1c05935d22c..44fc4372d3c5fc365fe3015378f6ffeafd342034 100644 Binary files a/inst/doc/dataRetrieval.pdf and b/inst/doc/dataRetrieval.pdf differ diff --git a/vignettes/figure/getNWIStemperaturePlot-1.pdf b/vignettes/figure/getNWIStemperaturePlot-1.pdf index b787b6f6e41f7be1a10cf01a0192f6978cb2fcae..244727c9836ea42132cd61e3528c143ef18e2e15 100644 Binary files a/vignettes/figure/getNWIStemperaturePlot-1.pdf and b/vignettes/figure/getNWIStemperaturePlot-1.pdf differ