Displaying 1 result from an estimated 1 matches for "skeenaqfig".
Did you mean:
skeenaqfigs
2013 Jul 10
0
how to adjust the x axis range based on y axis data
I am using R studio version 0.97.336.
I am trying to produce multiple figures based on a large data set (98010 rows). I am creating a plot for each TITLE (related to a variable/station combination).
#Create a plot for each Title. Save all plots as jpegs in folder named "SkeenaQfigs"
for(i in 1:nlevels(dt$TITLE)){
tmp.title <- subset(dt, TITLE == levels(dt$TITLE)[i])
#save plot to file
setwd("H:/R stuff/SJackson/SkeenaQfigs")
options(show.error.messages = FALSE)
result <- try(plot(tmp.title$YEAR, tmp.title$VALUE, xlab = "Year", ylab=&q...