image thumbnail

updated 1 month ago

export_fig by Oliver Woodford

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

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

line_fewer_markers by Massimo Ciacci

An alias of the LINE command, with additional control for markers, in number and location. (potw, pick of the week, plot)

line_fewer_markers(x,y,num_Markers, varargin)

test_line_fewer_markers.m

test_line_fewer_markers_shortExample.m

image thumbnail

updated 11 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

[strmodelshading, strfaces_colors, strfaceshading, strcol...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 2 years ago

Patchline by Brett Shoelson

Visualize lines as patch objects. Specify any valid patch property, including transparency. (lines, patches, transparency)

patchline(xs,ys,varargin)

image thumbnail

updated 12 months ago

Plane Fitting and Normal Calculation by Dan Couture

Given a set of x,y,z coordinates, find the best planar fit. (plot, regression, fit)

fitNormal(data, show_graph)

t_fitNormal()

image thumbnail

updated 7 months ago

Volumetric Data Explorer by Adam Filion

App for exploring higher dimensional data using volumetric visualizations and animation. (app, gui, visualization)

Data Explorer

calculatePixelSizes( availableSize, sizes, minSizes, padd...

callCallback( callback, varargin )

image thumbnail

updated 4 months ago

EPS Utility Toolbox by Kesh Ikuma

A set of functions to generate publisher-happy EPS images (eps, print, image export)

addcolor(imgdata,rgb)

defaultfontconfig()

eps2raster(varargin)

image thumbnail

updated 1 year ago

Box and whiskers plot (without statistics toolbox) by Jonathan C. Lansey

Creates nice boxplots from data. You don't need a toolbox. Simple yet fully featured. (box whiskers, boxplot, graph type)

bplot.m

image thumbnail

updated 1 year ago

Break X Axis by Peter

Splits the x-axis into 2 disjoint regions in order to hide an uninteresting portion of a figure. (figureaxesaxisplottin..., figure, axis)

breakxaxis(varargin)

unbreakxaxis(breakInfo)

SimpleExample.m

image thumbnail

updated 2 months ago

Data space to figure units conversion by Michelle Hirsch

A utility function to simplify use of annotation function (annotation, customization, units)

image thumbnail

updated 3 months ago

A Simple Finite Volume Solver for Matlab by Ehsan

A simple yet general purpose FVM solver for transient convection diffusion PDE (fvm, finite volume method, dirichlet)

image thumbnail

updated 12 days ago

ColorBrewer: Attractive and Distinctive Colormaps by Stephen Cobeldick

The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. (colormap, colorbrewer, rgb)

brewermap(N,scheme)

brewermap_read(man)

image thumbnail

updated 12 days ago

Intuitive RGB color values from XKCD by Chad Greene

RGB triplets for 949 colors, by how they're perceived on a computer monitor and their common names. (rgb, xkcd, color)

rgb

hex2rgb(hex,range)

rgb(ColorNames,varargin)

image thumbnail

updated 5 months ago

Fast 2-D convolution by David Young

Speeds up many 2-D convolutions using the SVD; also finds a fast approximation in other cases. (2d, convolution, filtering)

convolve2(x, m, shape, tol)

exindex(arr, varargin)

image thumbnail

updated 1 day ago

Plotly | Online MATLAB Graphing by Chris

Publish your MATLAB figures to the web with one line of code. (plot, data export, gui)

image thumbnail

updated 2 years ago

plot spread points (beeswarm plot) by Jonas

plotSpread plots distributions of data points, adding jitter to the points to avoid overlap. (distributions, histograms, plotting)

distinguishable_colors(n_colors,bg,func)

isEven(in)

myErrorbar(varargin)

image thumbnail

updated 7 months ago

dirplot by Steve Rickman

Makes polar directivity plots. (specialized, plotting, directivity)

dirplot(theta,rho,line_style,params)

dirplot_demo.m

image thumbnail

updated 1 month ago

legappend by Chad Greene

Append new entries to an existing legend (legend, plot, hold on)

legappend

legappend(newStrings,varargin)

image thumbnail

updated almost 2 years ago

Contour Plot for Scattered Data by Duane Hanselman

Triangular Contour Plot (graphics, contour, scatter3)

[c,h]=tricontour(tri,x,y,z,nv)

image thumbnail

updated 1 day ago

figtitle by Chad Greene

Create a title for a figure with multiple subplots. (title, figure, text)

figtitle

figtitle(titlestring,varargin)

image thumbnail

updated 13 days ago

Cubehelix Colormaps by Stephen Cobeldick

Attractive full-color colormaps that also print in grayscale (keeping the sequence information). (colormap, color scheme, color)

cubehelix(N,start,rots,hue,gamma,rng)

cubehelix_find(map)

cubehelix_view(start,rots,hue,gamma,rng)

image thumbnail

updated almost 2 years ago

Comprehensive Polar Plots by Duane Hanselman

Polar plots with handle graphics type parameter setting. Includes log radius support. (graphics)

out=mmpolar(varargin)

image thumbnail

updated 20 days ago

optica.zip by Oren berkovicth

optical lens system (optic, lens, simulation)

Optica(varargin)

arrow(varargin)

Fig

image thumbnail

updated 19 days ago

label by Chad Greene

label data directly on a plot (legend, plot, annotation)

label

label(h,textString,varargin)

image thumbnail

updated 1 year ago

tilefigs by Brendan

MATLAB function for tiling figures on the screen. (tiling, figure, tilefigs)

tilefigs(handles,resize,nRows,nCols,leftRightSpacing,topB...

image thumbnail

updated 7 months ago

2D FDTD code with TF/SF interface and UPML absorbing borders by Vasily Kozhevnikov

Simple example implements FDTD + UPML + Total Field/Scattered Field interface (fdtd, 2d, te)

FDTD_2D

image thumbnail

updated 8 months ago

figs2tabs - move figures into a single tabbed gui by Chad Smith

Use MATLAB's native tab functionality to move multiple figures or GUI's into one window (tabs, gui, figure)

figs2tabs(figHandles)

image thumbnail

updated almost 2 years ago

Contour Line Smoothing by Duane Hanselman

Smooths contour lines by fitting them with a 2-D spline. (interpolation, data exploration, graphics)

[cout,h]=contourspline(varargin)

image thumbnail

updated 19 days ago

hfill and vfill by Chad Greene

Simply create horizontal or vertical shaded sections of a plot. (plotting, shading, fill)

hfill and vfill

hfill(ybounds,ColorSpec,varargin)

vfill(xbounds,ColorSpec,varargin)

image thumbnail

updated 2 years ago

Simulation and Animation of a Quarter-Car Automotive Suspension Model by James Allison

A standard linear quarter-car model is simulated and then animated. (automotive, demo, suspension)

plotsusp(x,road_x,road_z,curr_x,umf)

sim_qcar.m

image thumbnail

updated 2 years ago

Extract data from a matlab figure (.fig) file by Pradyumna A

To extract data from a matlab figure (.fig) files generate using version 7 or later. (figure, extract data, unplot)

unplot(filename)

image thumbnail

updated 9 days ago

circle plotter by Chad Greene

Simply plot filled circles or circle outlines. (circle, plotting, fill)

circles

circles(x,y,r,varargin)

image thumbnail

updated 12 days ago

rgb2hex and hex2rgb by Chad Greene

Convert colors between rgb and hex values (color, rgb, plotting)

rgb2hex and hex2rgb

hex2rgb(hex,range)

rgb2hex(rgb)

image thumbnail

updated 10 months ago

Save and load data as multi-frame TIFF format by YoonOh Tak

Export various types of data such as single, double or 16bit integer as TIFF format (multiframe, tiff, export)

loadtiff(path)

saveastiff(data, path, options)

saveastiff_demo.m

image thumbnail

updated 1 year ago

Schemaball by Oleg Komarov

Plot correlation matrix as a schemaball (schemaball, correlation, plot)

schemaball(r, lbls, ccolor, ncolor)

schemaballUnit

image thumbnail

updated 6 months ago

Dicom Operator - EsmeProcess by Jun Li

EsmeProcess functions dicom image operation including viewing, drawing, writing and statistic. (dicom, mask, header)

EsmeProcess Tutorial

[meanGL1, stdGL1, meanGL2, stdGL2, ...

addmenuitems.m

image thumbnail

updated 2 months ago

rgbmap color maps by Chad Greene

Create color maps from actual names that people use for colors. (colormap, color, xkcd)

rgbmap

rgbmap(varargin)

image thumbnail

updated almost 2 years ago

Record, Plot Speech/Audio Signal by Ankitkumar Chheda

This tool will help students to learn recording of audio / speech signal (gui, record, speech)

exp1_GUI(varargin)

image thumbnail

updated 11 months ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated 7 days ago

Numeric to English Words by Stephen Cobeldick

Convert a numeric scalar to a string giving the English name of the number value (GB/US). (dialect, words, number names)

num2words(num,opts)

image thumbnail

updated 2 years ago

subplotplus() - Enhanced layout MATLAB subplot function by Alon Geva

subplotplus() is an enhanced alternative to the inherit subplot() function of MATLAB. (subplot, plot, figure)

subplotplus(subplot_array,varargin)

subplotplus_demo.m

image thumbnail

updated 8 months ago

Hysteresis thresholding for 3D images (or 2D) by Luke Xie

Segments images based dual thresholding with 2D or 3D connectivity neighborhoods. (image processing, hysteresis, 3d)

[tri,hys]=hysteresis3d(img,t1,t2,conn)

image thumbnail

updated 30 days ago

fog3D by Andriy Nych

FOG3D adds 3D fog to the axes to emphasize depth of the shown 3D plot (figure, 3dplot)

fog3D(ah,Command,varargin)

fog3D_demo

image thumbnail

updated 1 day ago

shadedplot by Savyasachi Singh

Plot shaded regions in MATLAB (plot, shading)

patchHandles=shadedplot(x, y, c, varargin)

shadedplotExamples.m

image thumbnail

updated 10 months ago

Fast mutual information, joint entropy, and joint histogram calculation for N-D images by ja

Built for 'highest possible' speed. Can handle any number of dimensions, given sufficient memory. (joint histogram, joint entropy, nd)

ent(J,K)

Contact us