I am working with Matlab14b and your function shows the following error:
No constructor 'handle.listener' with matching signature found.
Error in rotateXLabels/addListeners (line 390)
listeners = [
Error in rotateXLabels/repositionAxes (line 214)
addListeners( ax );
Error in rotateXLabels (line 37)
repositionAxes( ax );
When I was working with Matlab 14a it was operating correctly, could you please recommend me ways to solve this problem?
Hey Ben, awesome job with this one! I was just in need of something like this. Just one detail... When I run your code everything goes well except for the plot title which lowers slightly. Any way of fixing this?