image thumbnail

updated 2 days ago

matlab shebang trick by Andrew Pennebaker

a shell script that facilitates shebang-like behavior for MATLAB scripts (shebang, shebangs, unix)

image thumbnail

updated 13 days ago

Plot persistent vertical and horizontal line by Luca Amerio

Draws a horizontal or vertical line that persists through pans and zooms (plot, line, vertical)

vhline(ax,val,varargin)

image thumbnail

updated 15 days ago

simple Ybus by maheshpmk

maheshpmk (view profile)

calculate bus admittance matrix for given line data (power systems, y, bus)

linedat

ybusf(l)

Ep2.m

image thumbnail

updated 28 days ago

drag Line with callback by chen xinfeng

[set & get& drag] the line in figure, and get its [draggin-callback] as your wish. (gui, plot, line)

dragRect.m

dragLine.m

demo.m

image thumbnail

updated 1 month ago

bald6354/pixels2lines by Wes Baldwin

Matlab code for converting a skeletonized image into a series of lines (skeletonized, line, skeleton)

image thumbnail

updated 2 months 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)

image thumbnail

updated 3 months ago

columnlegend by Simon Henin

Simon Henin (view profile)

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

columnlegend(numcolumns, str, varargin)

image thumbnail

updated 5 months ago

draw by Chad Greene

Chad Greene (view profile)

Easily draw shapes on a figure via mouse. (shape, shapes, rectangle)

draw(shape,varargin)

image thumbnail

updated 5 months ago

least square adjustement for lines by Friedrich Keller

least square adjustement with constrains, solve line parameters (image processing, line, fit)

fun_problem_and_constraint.m

nako( line )

norFormKooForm( x )

image thumbnail

updated 5 months ago

maketransparent by Robert

Robert (view profile)

Sets opacity of axes children (transparent, line, plot)

maketransparent(h,alpha)

image thumbnail

updated 5 months ago

Reading files in console by Danielle Saunders

Given a file, prints out successive lines of file when user presses enter, or exits on entering 'q'. (file, reading, output)

filereader(filepath)

image thumbnail

updated 6 months ago

GetRandomLineStyleForPlot() by Alexander

Randomly create a line style for plotting (plotting, plot, line)

GetRandomLineStyleForPlot()

image thumbnail

updated 6 months ago

Trace perimeter of binary image with line segments (bwperimtrace) by Daniel Warren

Daniel Warren (view profile)

Traces the outer boundaries of non-zero pixels in a monochrome image (image processing, contour, perimeter)

bwperimtrace(in,xlims,ylims)

bwperimtrace_demo

contourc4(x,y,Z,v)

image thumbnail

updated 6 months ago

affineSpaceIntersection - Intersection of lines/planes/volumes/etc. by Josef

Josef (view profile)

Compute intersections of lines, planes, volumes, etc. in arbitrary dimensions. (geometry, plane intersection, plane)

image thumbnail

updated 6 months ago

line2arrow.m by Kelly Kearney

Kelly Kearney (view profile)

Combines line plotting with annotation arrows. (line, arrow, r2014b graphics ready)

image thumbnail

updated 7 months ago

object_line_int( a, b, mask, dist_trld ) by Violet

Violet (view profile)

Find the intersection between a line between two points and the boundary of an object in a mask (image processing, image, line)

object_line_int( a, b, mask, dist_trld )

example.m

image thumbnail

updated 7 months ago

clickableLegend - Interactive highlighting of data in figures by Ameya Deoras

Ameya Deoras (view profile)

A legend with clickable strings that let you hide and show objects in a plot. (annotation, customization, hide)

Examples of clickableLegend

clickableLegend(varargin)

image thumbnail

updated 9 months ago

draw_arrow(p1,p2, f) by Marco Ammann

Allows to draw an arrow in-between 2 points in a 2D plot (arrow, 2 points, two points)

draw_arrow(p1,p2, f)

image thumbnail

updated 1 year ago

Fast shortest distance between two line segments (in N dimensions) by Ondrej

Ondrej (view profile)

Shortest distance between two line segments in N dimensions (distance, geometry, intersection)

distLinSeg(point1s,point1e,point2s,point2e)

image thumbnail

updated 1 year ago

DISTANCE2LINE c++ mex by Mehmet OZTURK

Mehmet OZTURK (view profile)

Orthogonal euclidean distances of points to a line with c++ mex (orthogonal euclidean ..., line, mex)

example.m

image thumbnail

updated 1 year ago

Horizontal & vertical lines by Martin Klein Schaarsberg

Plot horizontal and vertical lines (line, plotting, visualization)

hline(y,varargin)

vline(x,varargin)

image thumbnail

updated 1 year ago

linelabel by Michelle Hirsch

Identify a plotted line by clicking on it. (data exploration, interactive, legend)

linelabel(state,ind)

image thumbnail

updated 1 year ago

line_fewer_markers by Massimo Ciacci

Massimo Ciacci (view profile)

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_lfm_logScale.m

test_lfm_In_PlotYY.m

image thumbnail

updated 1 year ago

Advanced hline and vline by Hoi Wong

Hoi Wong (view profile)

Draws horizontal/vertical lines in graphs. Accept axes handle and allows user to specify label posit (annotation, customization, horizontal line verti...)

hline(y, linePropertiesList, label, textPosition, textPro...

vline(x, linePropertiesList, label, textPosition, textPro...

image thumbnail

updated 1 year ago

Get handles of all (figure) objects by Marc

Marc (view profile)

Get a tree of object handles using the root as base (child, get, set)

childinfo

image thumbnail

updated almost 2 years ago

mgrep: Grep function for matlab files by Petter

Find code lines with certain contents in current folder (grep, search, find)

mgrep(str, flags)

image thumbnail

updated 2 years ago

Binary Image Processing by Tim Seyler

This tool shows some binary image operations within a GUI (image processing, morphology, dilatation)

binary_image_analyze.m

image thumbnail

updated 2 years ago

Active Figure Zoom for Selecting Points by Tristan Ursell

Tristan Ursell (view profile)

Select points at a user-specified zoom level that moves around the image as you click. (figure, zoom, select)

getline_zoom(Im1,varargin)

image thumbnail

updated 2 years ago

Add Visible Line over Images (Modifed Version of the one in Doug's MATLAB Video Tutorials) by Anand P

Anand P (view profile)

This is a modified version of the one shared in Doug's MATLAB Video Tutorials (image processing, signal processing, data export)

cursorLine(x,y,innerThickness, outerThickness)

image thumbnail

updated 3 years ago

colormapline - color-changing 2D or 3D line by Matthias Hunstig

Plot a 2D or 3D line using a specified colormap. (line, plot, color)

colormapline.m

image thumbnail

updated 3 years ago

Arrow3 Version 5 by Tom Davis

Tom Davis (view profile)

Draws lines with directional arrowheads. (annotation, customization, arrow)

arrow3(p1,p2,s,w,h,ip,alpha,beta)

image thumbnail

updated 3 years ago

LineManipulator by Thomas Otterstaetter

Allows mouse-based manipulation of the data of a line object. (gui, mouse, plot)

LineManipulator.m

image thumbnail

updated 3 years ago

Patchline by Brett Shoelson

Brett Shoelson (view profile)

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

patchline(xs,ys,varargin)

image thumbnail

updated 3 years ago

Draw multiple circles as a single line object by Brett Shoelson

Brett Shoelson (view profile)

FAST, EFFICIENT drawing of multiple circles! (circle, circles, line)

circles(radii,centers,varargin)

image thumbnail

updated almost 4 years ago

vector_plane_intersect by Val Schmidt

A function to fine the point where a line intersects a plane. (mathematics, line, plane)

vector_plane_intersect(Vo,V,C)

image thumbnail

updated 4 years ago

Draw color-coded lines in image. by Jan Heldal

LINES2IM generates an image with painted lines. The line-hues are the angles of the slopes. (image, paint, imageanalysis)

lines2im( X, Y, n,m)

image thumbnail

updated 4 years ago

plot_alpha by R P

R P (view profile)

Linear plot with translucid lines. PLOT_ALPHA(X,Y) plots vector Y versus vector X using Matlab FILL. (image processing, plot, line)

plot_alpha(x,y,color,width,transparency,method)

image thumbnail

updated 4 years ago

copyaxes by Mar Callau-Zori

Copy an axes object into another axes object (figure, copy, axes)

copyaxes(source, destination, varargin)

image thumbnail

updated 4 years ago

Points On Line by Ankur Pawar

Linearly spaced points between two point and ,point in Convex Hull test. (points on line, line, 2d)

inConvHull(vert,face,testPoints)

pointsOnLine(point1,point2,numPoints)

sphericalDodecahedron

image thumbnail

updated 4 years ago

2D Line Curvature and Normals by Dirk-Jan Kroon

Dirk-Jan Kroon (view profile)

Accurate Curvature and Normals of a line/contour consisting of 2D points (normals, normal, curvature)

LineCurvature2D(Vertices,Lines)

LineNormals2D(Vertices,Lines)

image thumbnail

updated 4 years ago

plot3rgb by Siddharth Ray

Plot a colored 3 D line changing its color with distance in the space. (color, line, plot)

plot3rgb(P)

image thumbnail

updated 4 years ago

Fast Parsing of Line Segments in a BW Mask by Jonathan Sullivan

Quickly determines the portions of a line/curve that are inside and outside of a binary mask. (polygon, mask2poly, poly2mask)

lineinmask(varargin)

image thumbnail

updated 4 years ago

Modeling, Simulation and 3D Animation of a Simple Assembly Line by Simulink Dude

Simulink Dude (view profile)

A simple template that combines SimEvents, Stateflow, Simulink and Simulink 3D Animation. (simevents, 3d, animation)

assembly_line.mdl

image thumbnail

updated 4 years ago

Horizontal lines by Venn Ravichandran

Adds horizontal lines to the current plot (line, data visualization)

hline(y,varargin)

image thumbnail

updated 4 years ago

Vertical Lines by Venn Ravichandran

Adds vertical lines to the current plot. (line, vertical)

vline(x,varargin)

image thumbnail

updated almost 5 years ago

SimEvents Entity Animation in 3D by Simulink Dude

Simulink Dude (view profile)

Basic infrastructure S-Function for hooking up a SimEvents model to Simulink 3D Animation (simevents, simulink, 3d)

simevents_animation(block)

entity_animation.mdl

image thumbnail

updated almost 5 years ago

Match Plot by Li yang Ku

Li yang Ku (view profile)

Draw matching lines between corresponding points in two image. Useful for SIFT feature matching. (plot, match, line)

match_plot(img1,img2,points1,points2)

image thumbnail

updated almost 5 years ago

LINECMENU by Matt Fig

Matt Fig (view profile)

Utility for creating a standard uicontextmenu for line objects. (uicontextmenu, uimenu, line)

defaultlinecreatefcn(varargin)

dualcolorplot(x,y,F,OPT)

linecmenu(varargin)

image thumbnail

updated almost 5 years ago

MATLAB Goto Statement by Husam Aldahiyat

The one and only. (goto, jump, jmp)

Example14

Example15

Example3

image thumbnail

updated 5 years ago

Generate maximally perceptually-distinct colors by Tim Holy

Tim Holy (view profile)

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

distinguishable_colors(n_colors,bg,func)

Contact us