Code covered by the BSD License  

Highlights from
subplace

5.0

5.0 | 1 rating Rate this file 1 Download (last 30 days) File Size: 1.91 KB File ID: #30646
image thumbnail

subplace

by James Slegers

 

04 Mar 2011

SUBPLACE Computes 'Position' vectors for a center-aligned set of subplots of varying row lengths

| Watch this File

File Information
Description

SUBPLACE Computes 'Position' vectors for a center-aligned set of subplots of varying row lengths

subplace(R), R is a vector specifying the number of subplots in each row

subplace([3 2]) - returns a 5x4 vector with the position vectors of 5 plots in rows of 3 and 2.

subplace([3 2],1) - returns a 1x4 position vector for subplot #1. That is, the position vector of the first subplot in the top row.

subplace([3 2],[1 2]) - returns a 2x4 array with the position vectors for subplots 1 & 2.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
axis, figure, graphics, plot(2), position, subplot(2), visualization
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
25 Aug 2011 grega

Nice one! Like simplicity...Thank you!

Contact us