image thumbnail

updated 14 days ago

export_fig by Yair Altman

Yair Altman

Exports figures nicely to a number of vector & bitmap formats. (jpeg, anti alias, marker size)

image thumbnail

updated 4 days ago

matlab2tikz/matlab2tikz by Nico Schlömer

Nico Schlömer

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

image thumbnail

updated 5 years ago

arrow.m by Erik Johnson

Erik Johnson

  • 1 file
  • 560 downloads
  • 4.60638

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

arrow(varargin)

image thumbnail

updated 2 years ago

tightfig by Richard Crozier

Richard Crozier

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

tightfig(hfig)

image thumbnail

updated 4 years ago

freezeColors / unfreezeColors by John Iversen

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 4 months ago

rotateXLabels( ax, angle, varargin ) by Ben Tordoff

Ben Tordoff

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

rotateXLabels( ax, angle, varargin )

image thumbnail

updated 4 years ago

tight subplot by Pekka Kumpulainen

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 almost 4 years ago

Generate maximally perceptually-distinct colors by Tim Holy

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 6 years ago

MatlabBGL by David Gleich

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 4 months ago

Flappy Bird for MATLAB by Mingjing Zhang

Mingjing Zhang

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

Flappy Bird

flappybird

image thumbnail

updated 3 years ago

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

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 3 years ago

Snake : Active Contour by Dirk-Jan Kroon

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 almost 2 years ago

columnlegend by Simon Henin

Simon Henin

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

columnlegend(numcolumns, str, varargin)

image thumbnail

updated 8 years ago

HERRORBAR by Jos (10584)

Jos (10584)

Horizontal errorbar plot. (specialized, plotting, horizontal)

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

image thumbnail

updated 2 years ago

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

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 12 months ago

shadedErrorBar by Rob Campbell

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 3 months ago

barwitherr(errors,varargin) by Martina Callaghan

Martina Callaghan

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

barwitherr(errors,varargin)

image thumbnail

updated 3 months ago

Simple color detection by hue by Image Analyst

Image Analyst

Detect colored regions in an image via thresholding in HSV color space. (color detection, color, image processing)

SimpleColorDetectionByHue()

image thumbnail

updated almost 3 years ago

Google Earth Toolbox by scott lee davis

scott lee davis

  • 1 file
  • 294 downloads
  • 4.81633

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 7 months ago

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

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 almost 4 years ago

grTheory - Graph Theory Toolbox by Sergii Iglin

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 10 years ago

Making Surface Plots From Scatter Data by Zain Mecklai

Zain Mecklai

  • 1 file
  • 265 downloads
  • 4.80556

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

surf_from_scatter.m

image thumbnail

updated 4 years ago

Viewer3D by Dirk-Jan Kroon

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 13 years ago

hline and vline by Brandon Kuczenski

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 4 years ago

OpenSURF (including Image Warp) by Dirk-Jan Kroon

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 4 years ago

Viola Jones Object Detection by Dirk-Jan Kroon

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 2 months ago

zoharby/plot_google_map by Zohar Bar-Yehuda

Zohar Bar-Yehuda

Plot a google map on the background of the current figure using the Static Google Maps API. (potw, pick of the week, wgs)

image thumbnail

updated 4 years ago

gridLegend - a multi column format for legends by Adrian Cherry

Adrian Cherry

  • 1 file
  • 221 downloads
  • 3.94118

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

gridLegend(hdl,gd,varargin)

gridDemo.m

image thumbnail

updated 4 years ago

SimpleColorDetection by Image Analyst

Image Analyst

Script to do simple color detection in RGB color space. Finds red objects in the image. (color, color classification, color detection)

SimpleColorDetection()

image thumbnail

updated 5 years ago

Efficient Graph based image Segmentation by Su Dongcai

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 4 years ago

Colorspace Transformations by Pascal Getreuer

Pascal Getreuer

Transform colors between sRGB, YCbCr, YPbPr, YUV, YIQ, HSV, HSL, HSI, XYZ, Lab, Luv, LCH, CAT02 LMS (color, image processing, pick of the week)

colorspace(Conversion,varargin)

colorspace_demo(Cmd)

colorspace_ciedemo.m

image thumbnail

updated 7 months ago

Subaxis - Subplot by Aslak Grinsted

Aslak Grinsted

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

ArgStruct=parseArgs(args,ArgStruct,varargin)

h=subaxis(varargin)

image thumbnail

updated almost 4 years ago

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

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 3 months ago

geom2d by David Legland

David Legland

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

Demo Medial Axis

Draw Poisson lines

demoExpandPolygon

image thumbnail

updated 5 years ago

mtit: a pedestrian major title creator by us

us

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

par=mtit(varargin)

image thumbnail

updated 5 months ago

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

Jonathan C. Lansey

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

ndhist.m

image thumbnail

updated 11 years ago

fit_ellipse by Ohad Gal

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 1 year ago

KML Toolbox v2.7 by Rafael Oliveira

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 10 years ago

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

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

Hatch fill patterns plus Color & Invert by Brandon Levey

Brandon Levey

  • 1 file
  • 185 downloads
  • 4.88889

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 13 years ago

plotyyy by Denis Gilbert

Denis Gilbert

PLOTYYY - Extends plotyy to include a third y-axis (specialized, plotting, plotyy)

plotyyy(x1,y1,x2,y2,x3,y3,ylabels)

image thumbnail

updated 5 years ago

barweb (BARgraph With Error Bars) by Bolu Ajiboye

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 7 years ago

Format Tick Labels by Alexander Hayes

Alexander Hayes

  • 1 file
  • 178 downloads
  • 4.74074

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

image thumbnail

updated 6 years ago

varycolor by Daniel Helmick

Daniel Helmick

  • 1 file
  • 173 downloads
  • 4.57143

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

ColorSet=varycolor(NumberOfPlots)

image thumbnail

updated almost 10 years ago

Plot 2D/3D Vector with Arrow by Rentian Xiong

Rentian Xiong

This function plots a line vector with arrow head. (2d, 3d, vector)

image thumbnail

updated 10 years ago

magnify by Rick Hindman

Rick Hindman

  • 1 file
  • 165 downloads
  • 4.97436

Turns the mouse into a pop-up magnifying glass to look at details of 2D plots. (data exploration, graphics, magnify)

image thumbnail

updated 4 years ago

multimodality non-rigid demon algorithm image registration by Dirk-Jan Kroon

Dirk-Jan Kroon

non-rigid 2D and 3D image registration with demon (fluid) algorithm, extended with modality transf. (transforms, nonrigid image regist..., nonrigid)

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

E=strain(Ux,Uy,Uz)

I3=movepixels(I1,Tx,Ty,Tz,mode)

image thumbnail

updated 2 years ago

subtightplot by Felipe G. Nievinski

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 1 year ago

Kinect Matlab by Dirk-Jan Kroon

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 12 days ago

PlotPub - Publication Quality Graphs in MATLAB by K M Masum Habib

K M Masum Habib

PlotPub is a MATLAB library for creating beautiful, publication quality figures. (figure, export, graphics export)

Contact us