Bugfixes for subplots and transformation

This contains two simple bugfixes:

- One for handling subplots for log scales (and cleaning up the code for log scales on the way)
- Fixing transformation error