Main Content

4,956 results in File Exchange

Vertical line on a figure

Version 1.1.0 by Shoaibur Rahman

Vertical Line in Matlab

vr(xPos) plot a vertical line at xPos getting current axis values with default color gray, line width 1, and a solid line with no markers.However, vr(xPos,varargin) plot a vertical line at xPos

- vr Plot a vertical line on a figure
  • 259 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Jan 2016

Auto Layout Tool

by McSCert

The Auto Layout Tool is used to automatically improve the layout of Simulink models.

- Offset vertical line segments to prevent them
- Return a cell array where each element is the set of points
- Automatically lays out lines.
- Get the lines connected to any given block.
See all
  • 2.6K (All time)
  • 8 (Last 30 days)
  • 4.6 / 5
  • Community
  • 22 Jul 2020

plotLin(direction,value,varargin)

Plot a horizontal or vertical line that spans the current axes.

Plots a horizontal or vertical line that spans the current axes. Accepts formatting specifications like the plot function. Will overwrite existing plots unless "hold on" is called.

- PLOTLIN Plot a horizontal or vertical line.
  • 46 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 26 Dec 2017

verlin

Version 1.0.0 by madhan ravi

VERTICAL LINE PLOTTING.

It was really difficult to use vertical lines in symbolic plot therefore I created a function to plot it. In my code a person can determine the x-point ,starting point and end point of the line.

  • 63 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 4 Nov 2018

Pictorial Suspicious Action Detection

by Amarjot

Autonomous UAV for Suspicious Action Detection using Pictorial Human Pose Estimation and Classificat

- Crops horizontal or vertical line l = [xmin ymin xmax ymax]
- Fit straight line segments sticks(:,p)
- Connect two pixels in an image with the desired graylevel
  • 2.1K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Jun 2014

Satellite Orbit Computation

Modified SGP4 code for GPS interface

A modified version of the SGP4 code used for standard satellite orbit computation using two-line elements (TLE). The modified code outputs satellite positions and velocity in ECF coordinates and

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 10.9K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Oct 2010

Beacon Satellite Propagation Simulation

Simulate satellite beacon signal propagation

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 2K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Oct 2010

Vertical Lines

Version 1.0.0 by Venn Ravichandran

Adds vertical lines to the current plot.

Adds vertical lines to the current plot. The lines extend to the current y-axis limits.

- VLINE Create a vertical line object
  • 259 (All time)
  • 16 (Last 30 days)
  • 3.0 / 5
  • Community
  • 22 Jun 2011

drawLA - Draw Toolbox for Linear Algebra.

Plot 2D/3D of vectors, planes, lines, spheres, and... display matrix equations.

. drawPlane.m - Draw 2D/3D plane.3. drawSpan.m - Draw line(2D)/plane(3D) spanned by one (2D/3D) or two (3D) vectors.4. drawLine.m - Draw 2D/3D line between two points.5. drawXLine.m - Draw vertical

- Draw vertical line in xy-plane at given x value.
- Draw 2D/3D line between two points.
- Draw horizontal line in xy-plane at given y.
  • 8.8K (All time)
  • 6 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Apr 2009

showYs(action,varargin)

Shows y-values of time series in 2D plots by clicking on the axes.

. By clicking repeatedly on different x positions, the labels and reference line come and go.After clicking on top of the reference line, it can be dragged together with the text boxes indicating the

- This function draws a vertical line that intersects the lines
  • 1.8K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 10 Mar 2017

Horizontal & vertical lines

Version 1.0.0 by Martin Klein Schaarsberg

Plot horizontal and vertical lines

Plot horizontal and vertical lines by specifying vectors of their vertical or horizontal positions, respectively. Other options can be passed to the built-in line function.

- VLINE plot vertical lines at one or more x-values
  • 209 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 17 Nov 2014

createButtonLabel(string,varargin)

Version 1.6.0 by Brett Shoelson

Easily label pushbuttons with (rotated, vertical, or multi-line) text.

buttonIcon = createButtonLabel(string,PVs,figOpt)Have you ever been frustrated by an inability to label a vertically oriented pushbutton or uicontrol with a string? This function is for you!All valid

  • 2.7K (All time)
  • 17 (Last 30 days)
  • 5.0 / 5
  • Community
  • 12 Apr 2020

Plot persistent vertical and horizontal line

Version 1.0.0 by Luca Amerio

Draws a horizontal or vertical line that persists through pans and zooms

VHLINE Draws a horizontal or vertical line that persists through pans and zooms. VHLINE('x',val) draws a vertical line on the current axes that intersect the x axis at the location specified by

- VHLINE Draws a horizontal or vertical line that persists through pans and zooms.
  • 83 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 27 Jan 2016

Line interval and moving

Line interval and moving

Line interval and moving with WindowButtonDownFcn, WindowButtonMotionFcn, WindowButtonUpFcn

  • 11 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 3 Mar 2021

3-D Ray Trace

3-D Ray Trace function for refractive propagation

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 5.6K (All time)
  • 3 (Last 30 days)
  • 4.0 / 5
  • Community
  • 27 Sep 2010

CanlabCore

Core tools required for running Canlab Matlab toolboxes. The heart of this toolbox is object-oriented tools that enable interactive analysis

  • 484 (All time)
  • 4 (Last 30 days)
  • -- / 5
  • Community
  • 16 Aug 2024

PLOT_LINES

Version 1.0.0 by Sww

Plots vertical lines at points defined on the x-axis.

plot_lines(xin) - Plots vertical lines at points defined on the x-axis using red solid lines and the current y-axis limits using a single line handleplot_lines(xin,[a b]) - Plots the lines from a to

- plot_lines(xin) Plots vertical lines at points defined on the x-axis
  • 4.5K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 25 Feb 2004

TEFAME

by Pablo P

Librería de análisis estructural matricial en MATLAB

- : This function draw a vertical line on x value.
- : This function draw a horizontal line on y value.
  • 80 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 14 Aug 2023

Separability filter for detecting circular shape

Detection of circular objects in a given image using Fisher criterion

- This function is to draw a vertical and horizontal line (cross shape + )
- Function to generate separability map for rectangular filters (vertical and horizontal)
  • 297 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Mar 2016

xplor

Multi-Dimensional Data Visualization

- Draw a series of vertical and/or horizontal lines
- Add horizontal and vertical scale bars to graph
- Shortcut for line(poly(:,1),poly(:,2))
- Utility to create a basic GUI made of a line of buttons
  • 591 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 Jun 2024

3-D Propagation Code

3-D Propagation simulator for turbulent media

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 2.6K (All time)
  • 3 (Last 30 days)
  • -- / 5
  • Community
  • 4 Oct 2010

2-D Propagation Simulation

Simulate Propagation in 2-D

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 2.1K (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 24 Sep 2010

Scintillation Channel Modeling Utilities

A library for scintillation channel modeling applications.

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 1.5K (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 3 Oct 2010

2-D Propagation Code for Bounded Media

2-D Propagation Code for propagation in refractive media over irregular surface.

- % Non vertical line versus x passing through xy1 and xy2
- % Non horizontal line versus y passing through xy1 and xy2
  • 1.1K (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 4 Oct 2010

  • 318 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 11 Jun 2018

errorbarlogy

errorbar plot for log y scale

ERRORBARLOGY Show the vertical errorbar line in log y scale plot when the data error is larger than data itself.Matlab buidin ERRORBAR does not plot the vertical errobar line in a log y scale plot

- ERRORBARLOGY Show the vertical errorbar line in log y scale plot when the
  • 3.5K (All time)
  • 17 (Last 30 days)
  • 4.0 / 5
  • Community
  • 5 Oct 2006

General Extra Toolbox

Generic functions for matrix manipulation, image processing, etc.

- PLOTLINE Plots a vertical or horizontal line
  • 7.2K (All time)
  • 1 (Last 30 days)
  • 2.8 / 5
  • Community
  • 21 Feb 2002

thomasdeneux/brick

The Brick Toolbox is a set of utility functions for Matlab.

- Draw a series of vertical and/or horizontal lines
- Add horizontal and vertical scale bars to graph
- Shortcut for line(poly(:,1),poly(:,2))
- Utility to create a basic GUI made of a line of buttons
  • 1.2K (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 23 Jun 2022

GRIDXY

Version 2.4.0 by Jos (10584)

Plot horizontal / vertical grid reference lines

GRIDXY(X) plots vertical grid lines at the positions specified by X. GRIDXY(X,Y) also plots horizontal grid lines at the positions specified by Y. GRIDXY(..., 'Prop1','Val1','Prop2','Val2', ...)

- GRIDXY - Plot horizontal / vertical grid reference lines
  • 17.5K (All time)
  • 17 (Last 30 days)
  • 4.8 / 5
  • Community
  • 11 Dec 2017

Horizontal line on a figure

Version 1.1.0 by Shoaibur Rahman

Horizontal Line in Matlab

hr(yPos) plot a horizontal line at yPos getting current axis values with default color gray, line width 1, and a solid line with no markers. However, hr(yPos,varargin) plot a horizontal line at yPos

- hr Plot a horizontal line on a figure
  • 237 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Jan 2016

hline and vline

Version 1.0.0 by Brandon Kuczenski

Draws 'low-impact' horizontal or vertical lines on the current axes

' object.Further arguments allow the user to set the linetype and color of the line (default is 'r:'), and to add labels. For example:h = vline(42,'g','The Answer')will return a handle to a vertical line at x=42 on

  • 63.7K (All time)
  • 23 (Last 30 days)
  • 4.9 / 5
  • Community
  • 9 Nov 2001

LineMarks

Version 1.1.1 by Sergio Yanez-Pagans

Adds "line marks" in order to label and identify constant values or allows to highlight data intervals

dash-dot line)line_width: Line width for all the linestick_width: Vertical tick widthmark_color: Color for both markers and linesmark_dx: Horizontal spacing between lines and labelsmark_dy: Vertical spacing

  • 150 (All time)
  • 10 (Last 30 days)
  • 5.0 / 5
  • Community
  • 10 Jun 2022

2D Line Curvature and Normals

Version 1.3.0 by Dirk-Jan Kroon

Accurate Curvature and Normals of a line/contour consisting of 2D points

LineCurvature2D, This function calculates the curvature of a 2D line. It first fits polygons to the points. Then calculates the analytical curvature from the polygons. K =

- This function calculates the normals, of the line points
- This function calculates the curvature of a 2D line. It first fits
  • 11.7K (All time)
  • 21 (Last 30 days)
  • 4.9 / 5
  • Community
  • 17 Oct 2011

point to line distance

Version 1.3.2 by Rik

calculate the distance between a 2D or 3D line and one or more points

You can input either a 2D or a 3D line and 2D or 3D points. This function is an extended version of the line below, with some input checking:distance=norm(cross(v1-v2,pt-v2))/norm(v1-v2)Licence: CC

  • 2.4K (All time)
  • 19 (Last 30 days)
  • 4.8 / 5
  • Community
  • 5 Jul 2020

Vertical Temperature Profile Animation

Version 1.1.0 by David Cannon

Used to visualize the vertical structure of underwater temperature data.

This code is designed to visualize the vertical structure of underwater temperature data. This code was specifically designed to be used with data collected using the Lake Michigan Buoy owned and

  • 296 (All time)
  • 15 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Jul 2018

Vertical vehicle behavior models

Version 1.2.0 by miguel castillon

Simulation of the vertical behavior of vehicles. 3 models are presented, with two, four and seven degrees of freedom respectively.

freedom, relative to the vertical displacement $[Z_s]$ of the suspended mass $[m_s]$, as well as the vertical displacement $[Z_u]$ of the unsprung mass $[m_u]$.The stiffness of the suspension is represented

  • 698 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Apr 2020

Efficient LLBP (Line Local Binary Pattern)

Version 1.1.0 by Nikolay S.

The function implements LLBP (Line Local Binary Pattern)

and vertical shaped filter, resulting in "line" shape, for which the name is given.An illustration of Line LBP can be seen here

  • 1.9K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Aug 2015

Find vertices in image of convex polygon

Version 1.0.2 by Matt J

Estimates the corner points of a pixelated convex polygon having a known number of vertices.

  • 601 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Apr 2025

Intersections of multiple 2D lines or line segments

Version 1.0.1 by Matt J

Compute the intersection of a reference line (or line segment) with a polyshape boundary or with a batch of other line segments.

The command linexlines2D() offered in this submission is a flexible tool for computing the intersection points between a reference 2D line segment and a batch of other 2D line segments. Either the

  • 252 (All time)
  • 2 (Last 30 days)
  • 4.0 / 5
  • Community
  • 30 Mar 2022

Advanced hline and vline

Version 1.2.0 by Hoi Wong

Draws horizontal/vertical lines in graphs. Accept axes handle and allows user to specify label posit

I needed to draw some vertical markers to my plots in GUI, so I checked out Brandon Kuczenski's hline/vline submission. However it doesn't accept axes handle as an input argument. Getting around by

  • 2.9K (All time)
  • 16 (Last 30 days)
  • 4.3 / 5
  • Community
  • 19 Aug 2014

weighted total least squares straight line fit

Version 1.0.0 by Mathias Anton

Calculates the parameters (and their uncertainties) to data with uncertainties in both coordinates

slope/y-axis intersection pair to slope angle and distance to the origin. The advantages of this are that a) global convergence is assured b) a solution is found even for a vertical line. The complete

  • 5.5K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 13 Nov 2007

errbar

Version 1.3.0 by Chad Greene

Easily create vertical or horizontal error bars.

A more adaptable, less visually-cluttered version of Matlab's built-in errorbar function. Works with vertical or horizontal error bars. See the documentation page (little light bulb icon) for

- errbar plots vertical or horizontal errorbars. Error bars may be
  • 2.5K (All time)
  • 17 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Jul 2015

Fast Line Segment Intersection

Version 1.1.0 by U. Murat Erdem

Finds the pairwise intersection points between line segments in 2D Cartesian space.

OUT = LINESEGMENTINTERSECT(XY1,XY2) generates intersection analysis between the line segment sets given in XY1 and XY2. Code can handle coincident and parallel lines.The main emphasis is on speed

- LINESEGMENTINTERSECT Intersections of line segments.
  • 7.8K (All time)
  • 17 (Last 30 days)
  • 4.9 / 5
  • Community
  • 10 Apr 2010

Rubberband Line

Version 1.0.0 by Sandra Preaux

Draws a rubber band line and returns the x y coordinates of the end points.

[p1,p2]=rbline(varargin)Function to draw a rubberband line and return the start and end points. Usage: [p1,p2]=rbline; or [p1,p2]=rbline(h); where h is an axis handle. Click the mouse in the plot

- function to draw a rubberband line and return the start and end points
  • 4.3K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 26 Mar 2002

straight line and plane intersection

Version 1.0.0 by Nassim Khaled

plane_line_intersect computes the intersection of a plane and a segment(or

%plane_line_intersect computes the intersection of a plane and a segment (or a straight line)% Inputs: % n: normal vector of the Plane % V0: any point that belongs to the Plane % P0: end point 1

- plane_line_intersect computes the intersection of a plane and a segment(or
  • 7.9K (All time)
  • 1 (Last 30 days)
  • 4.7 / 5
  • Community
  • 27 Nov 2007

Billiard Simulator

An updated GUI to simulate billiard systems on Matlab.

  • 520 (All time)
  • 19 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Jul 2016

Custom line style for plot function

Version 1.0.3 by Seongmun Jung

Use your custom line style

Use your custom line style with function named plot_dashYou can design your line pattern and its length by the parameter spec_ and num_For instance, Matlab default dashed line ∽ spec_ = [1, 0.5], n

  • 585 (All time)
  • 20 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Aug 2021

intriangulation(vertices,faces,testp,heavytest)

Version 1.5.0 by Johannes Korsawe

Are 3D-testpoints located inside or outside an arbitrary watertight mesh with vertices and faces?

  • 2.1K (All time)
  • 20 (Last 30 days)
  • 4.8 / 5
  • Community
  • 26 Jul 2016

Line-Line Intersection (N lines, D space)

Version 1.0.0 by Serge

Find intersection of N lines in D-dimensional space, in least squares sense.

Find intersection of N lines in D-dimensional space, in least squares sense. X = lineXline(A,B) -line starts & ends as N*D X = lineXline({x y..}) -lines as D long cell of starts & ends as

- Find intersection of N lines in D-dimensional space, in least squares sense.
  • 458 (All time)
  • 16 (Last 30 days)
  • 5.0 / 5
  • Community
  • 29 Oct 2016

kml line plot

Version 1.6.0 by Cameron Sparr

Draw nan-separated lines (or a single line) onto Google Earth.

airplane track). Syntax: KML_LINE(LON, LAT) writes nan-separated lines specified in LON and LAT to an output file, doc.kml KML_LINE(LON, LAT, NAME) writes nan-separated lines specified in LON

- KML_LINE Draw nan-separated lines (or single line) onto Google Earth.
  • 1K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 13 Apr 2012

getContourLineCoordinates

Version 1.1.0 by Adam Danz

Get a table of contour line coordinates from a contour object.

getContourLineCoordinates(cm);--or-- contourTable = getContourLineCoordinates(h);contourTable = Level.........Group..........X............Y ____________________________________

  • 2.1K (All time)
  • 19 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 May 2020

Intersection of Two Lines (line_intersection)

Version 6.0.1 by Tamas Kis

Finds the intersection of two lines.

line_intersection Finds the intersection of two lines.Syntax[x_int,y_int] = line_intersection(l1,l2)Inputsl1 (1×1, 1×2, 1×3, or 1×4 double) vector defining line 1:[x1]: vertical line form, [m1,b1

  • 985 (All time)
  • 4 (Last 30 days)
  • -- / 5
  • Community
  • 16 Jul 2024

gclh - get handle of current line

Version 1.0.0 by Pruthvi G

gcbl returns the handle/handles of the current line in the current system.

.% Date : 20-January-2019 07:41:00% Updates : 1. Gives Line handles for the selected line.% 2. If multiple lines are tapped to the single line the

  • 150 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 Mar 2019

ccTools

MATLAB Custom AppDesigner's Components

  • 184 (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 21 Dec 2023

Plot3 Shaded Line

Version 1.0.0 by Dirk-Jan Kroon

Like plot3, but will plot a real (round, flat, triangle, squared) thick shaded 3D line

This function works like plot3, but will display a real 3D round (vessel like), flat, triangle or squared line. Which can be shaded, because the surface is a triangulated patch.

- PLOT3T Plots a (cylindrical) 3D line with a certain thickness.
  • 3.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Aug 2008

dxf export for 3d line elements

Version 1.0.0 by Christoph Krall

Exports 3d line elements into a DXF file for further use with CAD software.

Given a filename and a 3d line where each line element is specified by X,Y, and Z coordinates it writes a DXF file with the a connected line and N vertices.

- % Given a filename and a 3d line where each line element is
  • 8.9K (All time)
  • 3 (Last 30 days)
  • 4.9 / 5
  • Community
  • 13 May 2004

Stacked line plot

Version 2.1.1 by Christopher Hummersone

Stacked line plots from a matrix or vectors

- Stacked line plots from a matrix or vectors
  • 2K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Aug 2016

cnpcshangbo/OS4-vertical-square-2017a

Version 1.0.0 by Bo

Drone dynamic simulation in Simulink.

a vertical square path, video can be seen in: https://youtu.be/LWijMJMqVRICitations:Bouabdallah, Samir. "Design and control of quadrotors with application to autonomous flying." PhD Thesis(2007).

  • 170 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 May 2018

Billiard Simulator

A GUI to simulate billiard systems on Matlab.

  • 3.5K (All time)
  • 19 (Last 30 days)
  • 4.7 / 5
  • Community
  • 31 Mar 2016

line_fewer_markers

Version 1.5.0 by Massimo Ciacci

An alias of the LINE command, with additional control for markers, in number and location.

Allows control of nr of markers, and positioning uniformly along x or along the curve, and with the option to lock on a local max. Accept same inputs as the LINE command, with the additional

  • 8.3K (All time)
  • 18 (Last 30 days)
  • 4.7 / 5
  • Community
  • 17 Oct 2014

Load more