I have plotted multiple groups of data in ggplot with facet_grid, and now I want to scale y axis to label some specific values on the axis, just like what I have done on the x axis. However, there are more than one y axis, so simply using scale_y_continuous() seems problematic. Here is part of my code.
ggplot(data,aes(x=TrdDt,y=value,group=variable)) +
geom_line() +
facet_grid(variable~.,scales = "free") +
scale_x_date(breaks = c(as.Date('2007-05-01'),as.Date('2007-05-15'),
as.Date('2007-06-01'),as.Date('2007-06-30')),
labels = c('May01','May15','Jun01','Jun30'))