Code covered by the BSD License  

Highlights from
More intuitive subplot

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

More intuitive subplot

by Peter Li

 

07 Nov 2011 (Updated 08 Nov 2011)

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

| Watch this File

File Information
Description

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 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
08 Nov 2011 Peter Li

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

11 Nov 2011 Peter Li

Okay, should be working now; simple but helpful.

Please login to add a comment or rating.
Updates
08 Nov 2011

Fixed bug

08 Nov 2011

Small interface tweak

Tag Activity for this File
Tag Applied By Date/Time
plot Peter Li 08 Nov 2011 09:28:00
gui Peter Li 08 Nov 2011 09:28:00

Contact us at files@mathworks.com