image thumbnail

updated 16 hours ago

Points and Lines Drawing Tools by Marco Chak Yan Yu

A simple code to implement points and point-to-point lines drawing in a figure. (gui, draw, graph)

DrawGUI(varargin)

H=gsortline(fig,env,xy,xyi,direction,interp1method,bin,pty,...

h=gpoints(fig,env,xy,varargin)

image thumbnail

updated 13 days ago

Modified & Generalized Dunn's index by Nejc Ilc

An implementation of Modified and Generalized Dunn's index for internal cluster validation. (clustering, validation, dunns index)

DI=indexDN(data,labels,distance)

[G,d,uniqueInd]=graph_create(data,labels,graph_type,options...

[fig]=scatterPlot(data,labels,options)

image thumbnail

updated 18 days ago

Bar Chart with Error Bars by Martina Callaghan

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

barwitherr(errors,varargin)

image thumbnail

updated 1 month ago

Region Adjacency Graph (RAG) by David Legland

Computes the graph of adjacent regions in a labeled image (rag, watershed, graph)

demoImRAG

imRAG(img, varargin)

image thumbnail

updated 1 month ago

figtopdf by Alexandre Willame

figtopdf is a small function that saves the current figure as a .pdf image. (pdf, image, graph)

figtopdf(myfigname, nocomment)

image thumbnail

updated 2 months ago

img2curve by Amihay Blau

Imports curves from pictures and graphs (digitize, digitizing, image to curve)

img2curve

image thumbnail

updated 3 months ago

columnlegend by Simon Henin

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

columnlegend(numcolumns, str, varargin)

image thumbnail

updated 4 months ago

K shortest paths in a graph represented by a sparse matrix (Yen's algorithm) by El-ad David Amir

Determine the K shortest paths from node S to node T. (dijkstra, graph, shortestpath)

graphkshortestpaths.m

image thumbnail

updated 5 months ago

Edgelist for Adjacency Matrix that represents unweighted undirected graph by Zhana Kuncheva

Produces the edgelist of any adjacency matrix representing an undirected unweighted graph. (graph, edgelist, adjacency matrix)

edgelist.m

image thumbnail

updated 6 months ago

Breath First Search by Anh-Dung Nguyen

Breath First Search algorithm to find shortest paths in a network (bfs, graph, shortest path)

bfs(A,s,t)

image thumbnail

updated 7 months ago

Graph incidence matrix to adjacency matrix by Ondrej

Conversion from graph incidence matrix to adjacency matrix. (graph, incidence, adjacency)

inc2adj(mInc)

image thumbnail

updated 8 months ago

k-clique algorithm by Anh-Dung Nguyen

k-clique community detection algorithm (k clique, network, kclique)

k_clique(k,M)

image thumbnail

updated 10 months ago

clplot: plot line with level-dependent color by Carl Witthoft

Creates a line plot whose color depends on which 'slice' of the y-range the y-value falls into. (statistics, graph)

clplot( x, y, cutval, cols, varargin )

image thumbnail

updated 10 months ago

Connected Component Analysis on an Undirected Graph by Tristan Ursell

Connected component analysis on undirected graphs, with thresholding and connectivity constraints. (graph, theory, undirected)

[groups,orphans]=graph_analysis(W,varargin)

image thumbnail

updated 11 months ago

an implementation of min-cut algorithm by Hu

min-cut for a connectivity weight graph (mincut, graph)

mincut(g, s)

image thumbnail

updated 1 year ago

Custom Colors for Plots by Andres

This function provides a selection of colors easy to differentiate for plotting graphics. (plot, graph, color)

ccol=CustomColors(ct1)

image thumbnail

updated 1 year ago

Tree data structure as a MATLAB class by Jean-Yves Tinevez

A per-value class that implements a generic tree data structure. (data structure, tree, graph)

tree

image thumbnail

updated 1 year ago

Make Pretty (Publishable) Graphs by Ruth Livingstone

Easily create publishable ready figures. Great used with export_fig or on its own. (figure, edit, graph)

pubgraph(fh,FS,LW,CL)

image thumbnail

updated 1 year ago

Adjust PDF page by Cris Luengo

MATLAB writes figures to PDF files as a full page. This function corrects that. (print, publish, pdf)

adjustpdfpage(figh,width)

image thumbnail

updated 1 year ago

Solve the puzzle via djstra shortest path algorithm by Su Dongcai

an interesting application of djstra algorithm (djstra, demo, image processing)

shortestPath(img, sp, dp)

image thumbnail

updated 1 year ago

find graph conected components by Maxim Vedenyov

[labels roots] = graph_connected_components(connection_matrix) (graph, connected components, breadthfirst search)

graph_connected_components(C)

zz_test_graph_connected_components.m

zz_test_graph_connected_components_picture.m

image thumbnail

updated 1 year ago

PhotoShop Scatter by Robert Macrae

A script for creating transparent scatter plots in Photoshop. Requires Photoshop. (data export, scatter, transparent)

psscatter(X,Y,PointSize,DataPointLocation)

image thumbnail

updated almost 2 years ago

Count all cycles in simple undirected graph by Jeff Howbert

Counts all cycles in a simple undirected graph up to specified size limit, using backtracking. (graph, undirected, count)

cycleCountBacktrack( inputFormat, source, varargin )

readGraph( inputFormat, source )

image thumbnail

updated almost 2 years ago

Count all cycles size 3 to 9 in simple undirected graph by Jeff Howbert

Counts all cycles size 3 to 9 in simple undirected graph, using pruned combinatorial enumerations. (count, cycle, graph)

cycleCountCombin( inputFormat, source )

readGraph( inputFormat, source )

image thumbnail

updated almost 2 years ago

IPN_voxelGraph by Xi-Nian Zuo

Functions to Generate Large Correlation Matrix and Sparse Matrix of Huge Graph. (correlation, brain, connectome)

IPN_calLCAM(data, thresh, nblock, connType)

IPN_fastCorr(X, Y)

image thumbnail

updated almost 2 years ago

Graph adjacency matrix to incidence matrix by Ondrej

Conversion from graph adjacency matrix to incidence matrix. (adjacency, graph, incidence)

adj2inc(mAdj,varargin)

image thumbnail

updated almost 2 years ago

Draw grpah of a function on matrix by David Silver

FCN2MAT Convert user-defined single-valued function to matrix (function plotting, plot, draw)

fcn2mat(fcnstr,minX,maxX,perX,lineWidth,perY,minY,maxY)

image thumbnail

updated 2 years ago

Real-Time Auto-Scrolling Graph from Serial Port by Shashank

It Plots a real-time running graph taking inputs from a serial port. (serial, real time, graph)

Plotter.m

image thumbnail

updated 2 years ago

Publication Quality Plots by Sourav Chatterjee

Creates Publication quality plots, removing white space, making fonts readable,printing in high res. (article, physics, publication quality)

[]=plotpub(h,xl,yl,file,w_inch,dpi,life_size)

sampleplot.m

image thumbnail

updated 2 years ago

Controllable tight subplot by Nikolay S.

Subplot wrapper, allowing better figure utilization, by tighter axes. (subplot, figure, axis)

h=subplot_tight(m,n,p,margins,varargin)

demo_subplot_tight.m

image thumbnail

updated 2 years ago

GraphScannerGUI by Mikko Leppänen

GraphScanner GUI program allows to extract data values from graphs. (graph, pictures, images)

addNewPoint(scObj,varargin)

calculation(x,y,data,xyScaleMatrix)

cellSelection(scObj,varargin)

image thumbnail

updated 2 years ago

othercolor by Joshua Atkins

Extra colormaps for plotting. Contains diverging, sequential, categorical, and perceptual maps. (color map, colormap, color)

othercolor(n,m)

image thumbnail

updated 2 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, colormap, legend)

distinguishable_colors(n_colors,bg,func)

image thumbnail

updated 2 years ago

Spider(rader) Chart for Multi Data by Li Cheng

Plots a radar (spider) chart for Multi-Data (no need of circle function here) (chart, graph, radar)

f=radarplot(R,Lable,LineColor,FillColor,LineStyle,LevelNum)

image thumbnail

updated 2 years ago

grTheory - Graph Theory Toolbox by Sergii Iglin

28 functions for different tasks of graph theory (clique, graph theory, tree)

BG=grBase(E)

CBG=grCoBase(E)

CoCycles=grCoCycleBasis(E)

image thumbnail

updated 2 years ago

Embed and overlay plots and images by Michael Chan

The objective is to illustrate the simple examples of embedding and overlaying plots and images. (overlay, image, graph)

plotFootPrintWithinImage.m

plotWithImageBackground.m

plotWithinPlot.m

image thumbnail

updated 2 years ago

Spanning tree gui by Maxim Vedenyov

spanning tree for randomized nodes with range. (spanning tree, graph, breadthfirst search)

main(varargin)

randomize_clb(isrand)

image thumbnail

updated 2 years ago

the Network Simplex Algorithm by Naomichi Aoyama

the Network Simplex Algorithm (optimization, graph theory, network)

admissible( f )

cy( A,i,j )

edge( L,n )

image thumbnail

updated 2 years ago

Convert Image To And From Graph Coordinates by Michael Chan

Illustrates mapping of binary image to graph coordinates and vice-versa. (image, plot, coordinates)

mapPixelsToCoordinatedPlotGraph(pixeliZedScratchPad, ...

plotCoordinatesToImagePixels(x_coordinates, y_coordinates, ...

usage_ImageToAndFromGraphCooridinates.m

image thumbnail

updated 2 years ago

Display Stock Data by Peter Webb

Internet enabled data analysis and visualization. (candlestick, data, news)

DisplayStockData(symbol, startdate, frequency, periods)

GetStockData(symbol, startdate, frequency, periods)

daxis(aksis,dateform,startdate)

image thumbnail

updated 2 years ago

Heuristic Algorithm for finding Maximum Independent Set by Roberto Olmi

Outputs the independent set of maximum cardinality. Runs in O(n^2) time, n=graph size. (independent set, vertex cover, clique)

x=findMIS(AD,priority)

image thumbnail

updated almost 3 years ago

YIPLOT : Easy plot by Yi Sui

YIPLOT makes plot much easier. you can use it to compress a bunch of codes into one single line. (plot, graph, self_rating)

h=yiplot(varargin)

image thumbnail

updated 3 years ago

Maximal Cliques by Ahmad

Finds all the maximal complete sub-graphs (maximal cliques) in a graph (clique, rectangular, complete subgraph)

maximalCliques( X, MAX_CLIQUE_SIZE )

image thumbnail

updated 3 years ago

dep by Thomas Guillod

Make a dependency report for a matlab file and plot the call graph. Make only static code analysis. (report, dependency, calling)

dep(indir,main,reclim,others,fileout)

dep1()

dep2()

image thumbnail

updated 3 years ago

ADJ2NetGrh by Seal Huang

Writes a Pajek ".net" files from a MATLAB matrix (pajek, graph)

ADJ2NetGrh(CIJ, CIJ_Coordinate, fname, arcs, threshold)

image thumbnail

updated 3 years ago

Plots a surface coloring by layers (using contour curves) by Rafael Palacios

Creates a surface and applies color by layers. Different elevation levels are clearly identified. (surface coloring, elevation, contour)

[s m]=surflayers(X,Y,Z,layers)

image thumbnail

updated 3 years ago

ashape: a pedestrian alpha shape extractor by us

extracts 2d alpha shapes from a set of x/y data points (alpha shape, segmentation, geometry)

fh=aslib(varargin)

p=ashape(varargin)

image thumbnail

updated 3 years ago

prettyplot by Cris Luengo

Prettier line plots with markers. (plot, graph, line)

prettyplot(varargin);

image thumbnail

updated 3 years ago

graphViz4Matlab by Matt Dunham

Display a directed or undirected graph in a Matlab figure window. (directed graph, specialized, graph)

addtosystempath(p)

adj2pajek2(adj,filename, varargin)

findString(str, cellArray,ignoreCase)

image thumbnail

updated 3 years ago

Acids by Giuseppe Cardillo

Plot the dissociation plot of a given acid (chemistry, physics, graph)

acids(varargin)

Contact us