No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 464 Bytes File ID: #11272 Version: 1.0



Andrew Diamond (view profile)


02 Jun 2006 (Updated )

extension of subplot, subplotrc(m,n,r,c) put suplot in row r, column c of figure.

| Watch this File

File Information

A totally trivial function that I keep on rewriting in line over and over again. Must be somewhere I'm missing or I'm missing something. Here it is in it's "glorious" entirety (-;
function h=subplotrc(varargin)
% function h=subplotrc(varargin) - extension of subplot
% subplotrc(m,n,r,c) put suplot in row r, column c of figure;
% all other forms passed through to subplot without alteration
if(length(varargin)==4 && all(cellfun(@isnumeric,varargin)))
if(nargout == 0)
    clear h;

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 Apr 2010 Abba

Abba (view profile)

Nice, thanks for pointing out the sub2ind function

Comment only
03 Dec 2008 Arturo Serrano

Arturo Serrano (view profile)

Contact us