Stack Matlab subplots in mxn format with overlapping axes
| .gitignore | Ignore asv files | |
| LICENSE | LICENSE | |
| README.md | Add readme | |
| stacked.png | Add example plots | |
| stackplots.m | Set LaTeX intepr | |
| test_stackplots.m | Stack Matlab subplots in mxn format with overlapping axes | |
| unstacked.png | Add example plots | |
stackplots
Stack Matlab subplots in mxn format with overlapping axes.
Example
Turns this
into this
Usage
INPUTS:
- fig -- figure with mxn subplots
- m -- number of rows
- n -- number of columns
PARAMETERS:
- xlabel -- global x axis label
- ylabel -- global y axis label
Sample call
stackplots(gcf,m,n);
to be used on a figure containing mxn subplots.
Have a look at the test script for a full example.