Code covered by the BSD License  

Highlights from
More intuitive subplot

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.44 KB File ID: #33667 Version: 1.2

More intuitive subplot


Peter Li (view profile)


07 Nov 2011 (Updated )

Matlab's subplot is useful for throwing figures together but the indexing is very counter-intuitive.

| Watch this File

File Information

Simple wrapper for Matlab's subplot. Most arguments get passed straight through. The only difference is in how the thisPlot index is handled. Instead of being a counter-intuitive 1D index, you just use 2D indices. For example, if you want a subregion from rows 3:4 and cols 4:5, just put {3:4 4:5}. If you want a single row/col region, just do {x y} or [x y].

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
11 Nov 2011 Peter Li

Peter Li (view profile)

Okay, should be working now; simple but helpful.

Comment only
08 Nov 2011 Peter Li

Peter Li (view profile)

Sorry guys, the current version is buggy; uploaded the wrong version. I'm fixing it now, will post when the fixed one is up.

Comment only
08 Nov 2011 1.1

Fixed bug

08 Nov 2011 1.2

Small interface tweak

Contact us