image thumbnail

updated 1 day ago

export_fig by Oliver Woodford

Exports figures nicely to a number of vector & bitmap formats. (data export, export figure, print)

image thumbnail

updated 3 months ago

matlab2tikz by Nico Schlömer

A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. (latex, figure, embed)

image thumbnail

updated 5 years ago

arrow.m by Erik Johnson

Draw a line with an arrowhead. (annotation, customization, arrow)

arrow(varargin)

image thumbnail

updated almost 4 years ago

freezeColors / unfreezeColors by John Iversen

Use multiple colormaps per figure! Version 2, now works for many types of objects, not only images. (annotation, customization, colormap)

freezeColors(varargin)

unfreezeColors(h)

Contents.m

image thumbnail

updated 1 year ago

Rotate X-axis tick labels by Ben Tordoff

Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc (plotting, xtick)

rotateXLabels( ax, angle, varargin )

image thumbnail

updated almost 2 years ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 1 year ago

tightfig by Richard Crozier

Remove excess margins from figures. (figure, axes, magrgin)

tightfig(hfig)

image thumbnail

updated 4 years ago

tight subplot by Pekka Kumpulainen

Fills the figure with axes subplots with easily adjustable margins and gaps between the axes. (plot, subplot, visualization)

tight_subplot(Nh, Nw, gap, marg_h, marg_w)

image thumbnail

updated 6 days ago

COLORMAP and COLORBAR utilities (Jul 2014) by Carlos Adrian Vargas Aguilera

MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc. (color, caxis, colormap)

cbfit(varargin)

cbfreeze(varargin)

cbhandle(varargin)

image thumbnail

updated 5 years ago

MatlabBGL by David Gleich

MatlabBGL provides robust and efficient graph algorithms for Matlab using native data structures. (graph, bfs, dfs)

Core numbers in MatlabBGL

New features in MatlabBGL version 3.0

New features in MatlabBGL version 4.0

image thumbnail

updated 3 years ago

Generate maximally perceptually-distinct colors by Tim Holy

Choose a set of n colors that can be readily distinguished from each other (color, legend, labels)

distinguishable_colors(n_colors,bg,func)

image thumbnail

updated 11 months ago

Bar Chart with Error Bars by Martina Callaghan

This is a very simple extension of MatLab's bar function to add error bars. (error, bar, errorbar)

barwitherr(errors,varargin)

image thumbnail

updated 2 years ago

Active Shape Model (ASM) and Active Appearance Model (AAM) by Dirk-Jan Kroon

Cootes 2D/3D Active Shape & Appearance Model for automatic image object segmentation and recognition (asm, active shape model, active shape)

A=imresize3d(V,scale,tsize,ntype,npad)

AAM_2D_example.m

AAM_3D_train_example.m

image thumbnail

updated 2 years ago

Snake : Active Contour by Dirk-Jan Kroon

Snake Segmentation (Kass et al), 2D/3D including GVF and balloon force (Easy to read code) (snakes, active, contour)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ExternalForceImage2D(I,Wline, Wedge, Wterm,Sigma)

image thumbnail

updated 10 years ago

Making Surface Plots From Scatter Data by Zain Mecklai

How to turn a collection of XYZ triplets into a surface plot. (whitepaper, article, paper)

surf_from_scatter.m

image thumbnail

updated 1 year ago

columnlegend by Simon Henin

Creates a legend with a specified number of columns (columns, figure, legends)

columnlegend(numcolumns, str, varargin)

image thumbnail

updated almost 8 years ago

HERRORBAR by Jos (10584)

Horizontal errorbar plot. (specialized, plotting, horizontal)

herrorbar(x, y, l, u, symbol)

image thumbnail

updated 3 years ago

Viola Jones Object Detection by Dirk-Jan Kroon

Viola Jones Object detection using OpenCV trained classifiers (opencv, xml, face)

ConvertHaarcasadeXMLOpenCV(filename)

GetIntergralImages(Picture,Options)

HaarCasadeObjectDetection(IntegralImages,HaarCasade,Optio...

image thumbnail

updated 4 months ago

Flappy Bird for MATLAB by Mingjing Zhang

MATLAB replica of the viral mobile game "Flappy Bird" (game, gui, graphics)

Flappy Bird

flappybird

image thumbnail

updated 3 months ago

plot_google_map by Zohar Bar-Yehuda

Plot a google map on the background of the current figure using the Static Google Maps API. (plot, google, map)

plot_google_map(varargin)

image thumbnail

updated 2 years ago

Google Earth Toolbox by scott lee davis

Various plotting/drawing functions that can be saved as KML output, and loaded in Google Earth (google, earth, kml)

Google Earth toolbox - ge_axes

Google Earth toolbox - ge_barbdaes

Google Earth toolbox - ge_box

image thumbnail

updated almost 5 years ago

barweb (BARgraph With Error Bars) by Bolu Ajiboye

Plots a fully customizable grouped bar graph with error bars (specialized, plotting, bar graph)

barweb(barvalues, errors, width, groupnames, bw_title, bw...

image thumbnail

updated 8 hours ago

Subaxis - Subplot by Aslak Grinsted

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

ArgStruct=parseArgs(args,ArgStruct,varargin)

h=subaxis(varargin)

image thumbnail

updated 5 months ago

shadedErrorBar by Rob Campbell

Creates an attractive shaded error region rather than discrete bars. (plot, error bar, confidence interval)

varargout=shadedErrorBar(x,y,errBar,lineProps,transparent)

image thumbnail

updated almost 7 years ago

Format Tick Labels by Alexander Hayes

Replace Tick Label with Specified Formattable Objects. (annotation, customization, tick label)

...

image thumbnail

updated almost 4 years ago

OpenSURF (including Image Warp) by Dirk-Jan Kroon

SURF (Speeded Up Robust Features) image feature point detection / matching, as in SIFT (registration, surf, opensurf)

D=FastHessian_BuildDerivative(r,c,t,m,b)

Iout=affine_warp(Iin,M,mode)

PaintSURF(I, ipts)

image thumbnail

updated 12 years ago

hline and vline by Brandon Kuczenski

Draws 'low-impact' horizontal or vertical lines on the current axes (annotation, customization, horizontal)

hhh=hline(y,in1,in2)

hhh=vline(x,in1,in2)

image thumbnail

updated 1 year ago

Super Mario Bros. Demo by Mingjing Zhang

A playable demo of Super Mario Bros. World 1-1 with background music (game, gui, animation)

Super Mario Bros. Demo

stl_mario_main()

image thumbnail

updated 3 months ago

geom2d by David Legland

Geometry library for matlab. Performs geometric computations on points, lines, circles, polygons... (geometry, computational geometr..., display)

InterX(L1,varargin)

angle2Points(varargin)

angle3Points(varargin)

image thumbnail

updated 4 years ago

mtit: a pedestrian major title creator by us

MTIT creates a major title in a figure with many axes (annotation, customization, title)

par=mtit(varargin)

image thumbnail

updated 8 years ago

addaxis by Harry Lee

Add multiple y-axes to plots. zoomable with zoom modification. (specialized, plotting, plotyy)

aa_splot(varargin)

addaxis(varargin)

addaxislabel(varargin)

image thumbnail

updated 11 months ago

KML Toolbox v2.7 by Rafael Oliveira

Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more (google earth, kml, geography)

bitslice(a,lowbit,highbit)

kmldoc(topic)

kml

image thumbnail

updated almost 16 years ago

ellipse.m by David Long

Adds ellipses to the current plot (annotation, customization, ellipses)

h=ellipse(ra,rb,ang,x0,y0,C,Nb)

image thumbnail

updated 3 years ago

Viewer3D by Dirk-Jan Kroon

MIP, Color, Slice and Shaded 3D (shearwarp) Volume Rendering, interactive 3D view/measurement GUI (volume render, volume rendering, mip)

B=SnakeInternalForceMatrix2D(nPoints,alpha,beta,gamma)

B=SnakeInternalForceMatrix3D(FV,alpha,beta,gamma)

ErrorData3D(varargin)

image thumbnail

updated 3 years ago

grTheory - Graph Theory Toolbox by Sergii Iglin

28 functions for different tasks of graph theory (vertex, edge, matching)

BG=grBase(E)

CBG=grCoBase(E)

CoCycles=grCoCycleBasis(E)

image thumbnail

updated 3 years ago

Hatch fill patterns plus Color & Invert by Brandon Levey

Updated code hatch with color and inverted hatches (bar, color, figure)

applyhatch_pluscolor(h,patterns,CvBW,Hinvert,colorlist, ...

makehatch_plus(hatch,n,m)

image thumbnail

updated 9 years ago

2D Gabor Filter(Ver1,2,3) by Ahmad Poursaberi

To design 2D Gabor filter and apply it to image. (filtering, gabor filter, image processing)

gaborfilter(I,Sx,Sy,U,V);

gaborfilter(I,Sx,Sy,f,theta);

gaborfilter(I,Sx,Sy,f,theta);

image thumbnail

updated 3 years ago

gridLegend - a multi column format for legends by Adrian Cherry

Plot a multicolumn format legend. (figure, plot, legend)

gridLegend(hdl,gd,varargin)

gridDemo.m

image thumbnail

updated 1 year ago

subtightplot by Felipe G. Nievinski

Asymmetric subplots with variable inner gaps and outer margins. (subplot, plot, axes)

h=subtightplot(m,n,p,gap,marg_h,marg_w,varargin)

subtightplot_demo.m

image thumbnail

updated 3 years ago

B-spline Grid, Image and Point based Registration by Dirk-Jan Kroon

B-spline registration of two 2D / 3D images or corrsp. points, affine and with smooth b-spline grid. (geometric transformat..., image registration, registration)

A=imresize3d(V,scale,tsize,ntype,npad)

Dlocal=jacobiandet_transform_2d_double(Ox,Oy,Isize,dx,dy)

E=strain(Ux,Uy,Uz)

image thumbnail

updated 1 year ago

Kinect Matlab by Dirk-Jan Kroon

Microsoft Kinect, OpenNI wrapper, Skeleton, Depth (kinect, microsoft, skeleton)

J=imagemax(Iin)

[I_SSD,I_NCC]=template_matching(T,I)

compile_cpp_files(OpenNiPath)

image thumbnail

updated 5 years ago

RGB triple of color name, version 2 by Kristjan Jonasson

Returns a Matlab RGB color specifier corresponding to a given color name (139 colors supported). (color, colour, rgb)

rgb.m

image thumbnail

updated 3 years ago

vol3d v2 by Oliver Woodford

3-d volume (voxel) rendering (volume viewer, voxel, volume)

vol3d(varargin)

image thumbnail

updated almost 11 years ago

fit_ellipse by Ohad Gal

Find the best fit for an ellipse using a given set of points (a closed contour). (specialized, plotting, fit)

fit_ellipse( x,y,axis_handle )

image thumbnail

updated almost 6 years ago

varycolor by Daniel Helmick

Provides maximum color variation for lines on plots. (plot color, utilities, miscellaneous)

ColorSet=varycolor(NumberOfPlots)

image thumbnail

updated 13 days ago

Get rid of the white margin in saveas output by E Akbas

MATLAB's saveas pads your figure with a white margin. This m-file is prevents that. (figure, saveas, print)

saveTightFigure(h,outfilename)

image thumbnail

updated 1 month ago

Efficient 2D histogram, no toolboxes needed by Jonathan C. Lansey

Creates 2D histogram of scatterplot or lineseries data, really fast, fully featured. (histogram, hist3, plotting)

ndhist.m

image thumbnail

updated 4 years ago

Wind_rose by M MA

Wind rose of direction and intensity (specialized, plotting, wind rose)

wind_rose.m

image thumbnail

updated 4 years ago

Efficient Graph based image Segmentation by Su Dongcai

A simple and efficient graph based image segmentation algorithm (image processing, kruskal, minimum span tree)

CoherenceFilter(u,Options)

D=derivatives(I,option)

I=imgaussian(I,sigma,siz)

image thumbnail

updated almost 4 years ago

Simple color detection by hue by Image Analyst

Detect yellow regions in an image via thresholding in HSV color space. (image processing, color, color classification)

SimpleColorDetectionByHue()

Contact us