image thumbnail

updated 4 months ago

Margincrop by Jurgen

Simple way of cropping images by specifying the amount of pixels to be cut away from the edges. (crop, margin, imcrop)

margincrop(I, LR, TB)

image thumbnail

updated 1 year ago

getTightSubplotHandles by Jeremy Manning

Finer control over subplot spacing. (subplot, figure, axes)

getTightSubplotHandles(FIG_MARGIN,ROW_MARGIN,COLUMN_MARGIN,...

image thumbnail

updated 1 year ago

Get rid of the white margin in saveas or print outputs by E Akbas

MATLAB's saveas and print commands pad your figure with a white margin. This m-file is a solution. (figure, saveas, print)

saveTightFigure(h,outfilename)

image thumbnail

updated 2 years ago

SVM Demo by Richard Stapenhurst

An interactive demo of how an SVM works, with comparison to a perceptron (arrayfun, machine learning, artificial intelligen...)

LinearClassifier

svm_demo

image thumbnail

updated 5 years ago

apply by Stephen Lienhard

Apply a function looping over a dimension of a matrix (matrices, arrayfun, margin)

apply(fun,x,dim,varargin) %#ok<INUSL>

image thumbnail

updated 8 years ago

savefigure by Aslak Grinsted

Easy way of saving figures to publication friendly format. (graphics export, plot, tiff)

ArgStruct=parseArgs(args,ArgStruct,varargin)

[varargout]=SaveFigure(fname,varargin)

image thumbnail

updated almost 10 years ago

Subaxis - Subplot by Aslak Grinsted

Use HTML jargon for multi axis layout. (annotation, customization, subplot)

ArgStruct=parseArgs(args,ArgStruct,varargin)

h=subaxis(varargin)

Contact us