image thumbnail

updated 4 days 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_lfm_logScale.m

test_lfm_In_PlotYY.m

image thumbnail

updated 2 months ago

Advanced hline and vline by Hoi Wong

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 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)

brewermap(N,scheme)

brewermap_read(man)

image thumbnail

updated 3 months ago

Get handles of all (figure) objects by Marc

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

childinfo

image thumbnail

updated 3 months ago

line2arrow: Add an arrowhead to a plotted line by Kelly Kearney

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

axescoord2figurecoord.m

line2arrow(h, varargin);

parsepv(Param, pvpairs, varargin)

image thumbnail

updated 4 months ago

linelabel by Michelle Hirsch

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

linelabel(state,ind)

image thumbnail

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

Active Figure Zoom for Selecting Points by Tristan Ursell

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

[X,Y]=getline_zoom(Im1,varargin)

image thumbnail

updated 1 year ago

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

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

Arrow3 Version 5 by Tom Davis

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

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

image thumbnail

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

Draw multiple circles as a single line object by Brett Shoelson

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

circles(radii,centers,varargin)

image thumbnail

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

plot_alpha by R P

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 almost 3 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 almost 3 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)

[inHullPoints,inPointsIndex]=inConvHull(vert,face,testPoi...

points=pointsOnLine(point1,point2,numPoints)

sphericalDodecahedron

image thumbnail

updated 3 years ago

2D Line Curvature and Normals by Dirk-Jan Kroon

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

N=LineNormals2D(Vertices,Lines)

k=LineCurvature2D(Vertices,Lines)

image thumbnail

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

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

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

assembly_line

image thumbnail

updated 3 years ago

DISTANCE2LINE c++ mex by Mehmet OZTURK

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

example.m

image thumbnail

updated 3 years ago

Horizontal lines by Venn Ravichandran

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

hline(y,varargin)

image thumbnail

updated 3 years ago

Vertical Lines by Venn Ravichandran

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

vline(x,varargin)

image thumbnail

updated 3 years ago

SimEvents Entity Animation in 3D by Simulink Dude

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

simevents_animation(block)

luggage_animation

image thumbnail

updated 3 years ago

Match Plot by Li yang Ku

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

LINECMENU by Matt Fig

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

defaultlinecreatefcn(varargin)

dualcolorplot(x,y,F,OPT)

linecmenu(varargin)

image thumbnail

updated 3 years ago

MATLAB Goto Statement by Husam Aldahiyat

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

Example14

Example15

Example3

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

Plot to Bitmap by Dirk-Jan Kroon

Plot lines (and text) directly into a bitmap, including filled polygons. (bitmap, image, text)

I=bitmapplot(x,y,Ibackground,options)

I=bitmaptext(lines,I,pos,options)

image thumbnail

updated almost 4 years ago

Euler/Fixed Angles Properties by Husam Aldahiyat

Graphical display of Euler and Fixed Angles (gui, robotics, euler)

eangles

eulfor(a,b,g,con)

rotx(t)

image thumbnail

updated almost 4 years ago

Sampling Of 2D Geometrical Object via Line Beams by Michael Chan

Illustrates coordinated sampling of a geometrical shape such as an eclipse is used in this case. (image processing, project, beam)

calculateEllipse(x, y, a, b, angle, steps)

deg2rad( inDegrees )

getPointsBetween2Points (startp,endp,pts)

image thumbnail

updated almost 4 years ago

Improved 'vline' by Karl

Same syntax as original 'vline', but with several improvements. (vline, vertical, line)

vline2(varargin)

image thumbnail

updated almost 4 years ago

Forming ray lines for plots by Michael Chan

The objective is to construct different line beams. (beam, plot, ray)

deg2rad( inDegrees )

rayLinesScheme_fan (numberOfLines, ...

rayLinesScheme_parallel (numberOfLines, ...

image thumbnail

updated almost 4 years ago

Line Phantoms For Back Projection Detectability Tests by Michael Chan

Drafts lines used as biomedical phantoms for Back Projection Detectability Tests. (biomedical, image processing, detectability)

draftLinesForBackProjectionTest(scratchPad, numberOfLines...

drawline.m

imagePlot( imageData, plotRowSize, plotColSize, ...

image thumbnail

updated 4 years ago

Bresenham optimized for Matlab by Aaron Wetzler

An implementation of the classic algorithm with code optimized for Matlab (bresenham, line)

[x y]=bresenham(x1,y1,x2,y2)

image thumbnail

updated 4 years ago

Figure to Simulink subsystem mask icon converter by Paul

Creates a mask icon for a Simulink subsystem from a given figure. (mask, simulink, subsystem)

fig2simulinkmaskicon(hFig,colors)

demo_fig2simulinkmaskicon.m

image thumbnail

updated 4 years ago

FIG2CFTOOL by Nick Sinclair

Takes lines plotted in figure and puts them into cftool. (cftool, figure, line)

fig2cftool(varargin)

image thumbnail

updated 4 years ago

prettyplot by Cris Luengo

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

prettyplot(varargin);

image thumbnail

updated 4 years ago

Fast Line Segment Intersection by U. Murat Erdem

Finds the pairwise intersection points between line segments in 2D Cartesian space. (intersection, line, segment)

lineSegmentIntersect(XY1,XY2)

testIntersections.m

image thumbnail

updated 4 years ago

Using patch() and rotate() - Basics by Husam Aldahiyat

Powerpoint slides on the basic usage of the patch() and rotate() functions. Includes 13 Examples. (patch, rotate, slides)

slide12

slide15

slide17

image thumbnail

updated 4 years ago

Misc Plot using Plotyy by Math Lover

Modified plotyy command to plot more than two parameters on two axes. (plotyy, line, legend)

miscplot.m

image thumbnail

updated 4 years ago

color_line by DS

Plot a vector with colors defined by intensity values and a colormap. (color, colormap, line)

color_line(x,y,z,cmap)

image thumbnail

updated 4 years ago

Linear Regression with Errors in X and Y by Travis Wiens

Calculates slope and intercept for linear regression of data with errors in X and Y. (mathematics, measurement, statistics)

ellipse(Xc,Yc,dX,dY,N_p)

york_fit(X,Y,sigma_X,sigma_Y, r)

demo_york.m

image thumbnail

updated almost 5 years ago

Learn Basic Plotting Principles by Husam Aldahiyat

Powerpoint Slides on the fundamentals of plotting and using the function line() with animation. (gui, example, graphical)

slide25

slide39

slide47

image thumbnail

updated 5 years ago

Draw an angled line, with a slope relative to a reference point. by Elad

Draw a line at an angle in degrees which goes through a reference point inputted as an argument. (draw, plot, line)

drawslope(I, alpha, refpoint)

Contact us