Friday, March 25, 2011

Matlab subplot


I often use Matlab's subplot function to plot multiple things in one figure, like this:

However, I recently discovered that you can have them span multiple rows or columns:

Note: all figures shamelessly stolen from http://www.mathworks.com/help/techdoc/ref/subplot.html, Matlab's subplot documentation.

No comments:

Post a Comment