0

Here is a part of my code to plot my data using ggplot2 and bellow you can see the resulting plot.

ggplot(dd_all, aes(x=sequence, y=value) + geom_line() + geom_point() +
  scale_colour_manual(values=c('orange', 'red', 'blue','sky blue','dark green'),labels=c('MLR', 'ANN', 'M5','M5 Bag','RF')) +
  facet_grid(measure ~ period, switch ='y', scales = "free")

enter image description here

I would like to use different (y) scales for each of my (eight) plots. Using scales = 'free' or scales = 'free_y', I only manage to get different scales for each row. However, I would like to get different scales for validation and calibration data (e.g. right and left column).

Why I would like to do that, is probable obvious.

JerryTheForester
  • 456
  • 1
  • 9
  • 26

0 Answers0