32,819 results
Splits the y axis hiding values within a given range
breakyaxis([minYvalue,maxYvalue])Splits the y axis into two separate regions to avoid unnecessary blank space. The split interval is determined by the y-axis values minYvalue and
Splits the x-axis into 2 disjoint regions in order to hide an uninteresting portion of a figure.
of tick marks.6.) Obeys ‘Layer’ property7.) Works with semilogy plots and with either axis reversed8.) Can resize after splitting axis8.) Possible to unsplit axisLimitations1.) No support for semilogx
Produces a plot who's y-axis skips to avoid unecessary blank space.
look torn in the broken space if break_type='Patch' the plot will have a more regular, zig-zag tear if break_plot='Line' the plot will merely have some hash marks on the y-axis to
Breaks the Y-axis so that the x-axis will cross the y-axis at 0 and continues at any number
This routine just adds 2 yTicks at the bottom of the y-axis First added ytick will be assigned 0 Second y-tick are two almost horizontal lines to break up the y-axis
Breaks the x or y axis.
MATLAB function to add an axis break to a plot.CAUTION: break is only aesthetic. Does not alter the plotted data.
This MATLAB program performs plots, poles/zeros, asymptotes, Angle of Departure and Arrival, Imaginary Axis Crossing and break in/away point
asymptotes.Breakaway and Break-in Points: Determines points where roots diverge or converge on the real axis.Angle of Departure and Arrival: Calculates these angles for complex poles and zeros.Imaginary Axis Crossing
BreakAxisandZoom(xx,yy,startA,stopA,startErase_before,stopErase_after,width)
Version 1.0.0.0
Meenakshi NarayanThe function BreakAxisandZoom helps users to analyze a portion of high frequency periodic data.
The function BreakAxisandZoom helps users to analyze a part of high frequency periodic data by setting break points on X-axis of the plot by the user. For example, given a sinusoidal plot of very
Produces a plot who's y-axis skips to avoid unnecessary blank space
Produces a plot who's y-axis skips to avoid unecesary blank spaceReplaces BREAKAXIS
Computes/applies rotation about arbitrary 3D line.
Generates the roto-translation matrix for the rotation around an arbitrary line in 3D. The line need not pass through the origin. Optionally, also, applies this transformation to a list of 3D
Inserts < // > into a 'broken' or discontinuous x-axis.
h=BreakXAxis(x,y,start,stop,width) plots (x,y) and breaks the plot's x-axis between and , by inserting a broken-axis symbol < // > into a space wide. This type of plot is often used in
Fit experimental data with linear piecewise continuos function with given x-axis break points.
Generates 1-D look-up table (LUT) optimal (least-square sense with continuity constraint) y-axis points from experimental (x,y) data given a vector of x-axis break points.Note that x-axis break
Draw central axis lines through an origin point.
, analogous to normal axes properties, that give control over the oaxes object's appearance. In addition, various oaxes-specific properties give the user control over features such as arrows at the axis ends
Solves the 1D Shallow Water Equations for a Dam Break scenario
(James Adams) in 2014. Uses Dam Break conditions (initial water velocity is set to zero). A choice of either zero gradient (water flows out of the domain) or reflective boundary conditions is given.Plots
Align axis labels nicely in parallel with axes in MATLAB (3-D) plots.
$, $y$ and $z$ labels to the direction of their corresponding axes and moves the labels to a proper distance from the axes;- `align_axislabel_log`: supports log-scale in $z$ axis;- `axislabel_rotation
breaking the x axis
breaking the x axis also you can convert it to break y axis, easly.a = .1:.01:10;b= sin(a);subplot(2,1,1);plot(a,b)graphic2 = gca;subplot(2,1,2);BreakXAxisv2(a',b',2,7,graphic2)
Returns the position of a plotted axis region
axis, which may differ from the actual axis position, depending on the axis limits, data aspect ratio, and plot box aspect ratio. The position is returned in the same units as the those used to define
Scanning timeseries for piecewise constant segments
false-positive detections. If called with no arguments, the function generates a 1e5 data point test data set with 20 random segments, searches and displays results. Outputs: breaks = indices of break points in
Makes it alot easier to make nice figures with the same x axis.
subplots that have common x axises USAGE: samexaxis([optionalarguments]) Optional arguments: * YAxisLocation (default='left') : choose left,right, alternate or alternate2 * XAxisLocation
Minimizes redundant axis labels in a grid of subplots
AXIS_PRUNELABELS takes a figure with a grid of subplots (created using either SUBPLOT or custom AXES commands), and (a) forces all the subplots to have the same axis limits, and (b) turns off axis
Interactive courseware module that addresses common foundational-level concepts taught in signal processing courses.
# Convolution in Digital Signal Processing[![View on File
Use multiple colormaps per figure or axis! Works for many types of objects, not only images.
freezeColors/unfreezeColorsfreezeColors allows multiple colormaps to be used per figure and even within a single axis.HistoryIn 2005 freezeColors was written to enable multiple colormaps in a single
Use HTML jargon for multi axis layout.
SUBAXIS Create axes in tiled positions. (just like subplot) Usage: h=subaxis(rows,cols,cellno[,settings]) h=subaxis(rows,cols,cellx,celly[,settings
Switch between vertical/horizontal/both axis zoom mode by moving the mouse above the figure.
In a matlab figure, in order to switch between vertical axis zooming and horizontal axis zooming, the user must click on Tools/Option/..., or right-click on the figure and to chose the zoom mode
This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin.
PlotAxisAtOrigin Plot 2D axes through the origin. It is a 2D version of Plot3AxisAtOrigin written by Michael Robbins. Have fun!
EMG functions and classification methods for prosthesis control - Joseph Betthauser
Version 1.0
Joseph BetthauserEMG DSP functions, classifiers, and miscellaneous
easy to perform, and some are based on my research. Most, if not all, have been optimized for speed and efficient data management. Description on how to use folder for classification in MATLAB is
MATLAB files for Exercises Solving ODEs in MATLAB
Solving ODEs in MATLAB is a video series available on the MathWorks web site at http://www.mathworks.com/videos/series/solving-odes-in-matlab-117658.html. Learn about the MATLAB ODE suite and try a
PLOTYYY - Extends plotyy to include a third y-axis
PLOTYYY builds upon plotyy to include a third y-axis. It also provides an easy way of labelling all three y-axes at once.
The script shows how to rotate vectors in space about an axis through the origin as well as any arbitrary axis
Includes 2 code blocks. The first one uses the Rodrigues' formula to rotate a vector in space around an axis. The second block can be used to perform rotations about an arbitrary axis 1) Rotates a
Plots 3d polar data with polar axis and polar grid
this to a compass style plot with zero degrees along the +Y axis and increasing angles going clockwise around the pole.Default surface coloring is according to the values in Zp. This can be changed by
This is the PECUZAL implementation for Matlab. An automated approach for attractor reconstruction of uni- and multivariate datasets.
Numerical computation with functions
”. The foundations are described, with Chebfun examples, in the book Approximation Theory and Approximation Practice (L. N. Trefethen, SIAM 2013). Chebfun has extensive capabilities for dealing with linear
roller simulation on matlab
automatically breaks after reaching the limited speed(MORE NOTES ARE PROVIDED INSIDE MODEL)
Multi-Dimensional Data Visualization
dimensions for the analysis,- display the data in images or maps dynamically linked to graphs, so as to identify trends.
MVTec Halcon function mex-wrapper
MVTec Halcon (12) is an image processing library used in machine vision applications. At Decom.nl we use both Halcon and Matlab together. Therefor we wrapped all Halcon operators into Matlab
Yet another illustration of ILC for my students.
GODLIKE combines 4 global optimizers for both single/multi-objective optimizations
single and multi-objective optimizer), AND to generate simple plots to be used in quick reports etc.BASIC EXAMPLES:(single-objective)% extended Rosenbrock functionrosen = @(X) sum( 100*(X(:, 2:2:end) - X
Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units).
fine.ERRORBAR_TICK(H,W,'UNITS') adjust the width of error bars with handle H. The input W is given in the units of the curent x-axis.
Add multiple y-axes to plots. zoomable with zoom modification.
Very simple reliable script giving simple control over label rotation with higher stability
alternatives downloaded.It works on full figures and subplots, and more control over scaling can be obtained by using subplot in combination with XYrotalabel.It assumes axes are bottom and left and aligns the
Add multiple X or Y axes to plots, rescale data, use any function, add data tips, zoom, flexible.
inspired by AddAxis 5 by Harry Lee Check the example.m file for some quick tips.If you find any bugs or have suggestions please write in the comments box or message me. If the submission was helpful, then
A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis
is built in a simple and modular fashion, and it can run faster than real-time. It is suitable as a baseline model for drive cycle simulation to estimate vehicle's electrical efficiency and other
Access to the installed Joysticks from MATLAB.
The Joystick Adaptor 4 axis & Buttons is an upgrade of Roberto Waissman's Joystick Adaptor for two axis only. It allows access to installed joysticks in MS Windows operating systems based on NT
Rotate three-dimensional vector(s) about a specified axis by a specified angle.
This is a very simple program that implements Rodrigues's rotation formula. Inputs are arrays of three-dimensional column or row vectors that are to be rotated about a specified axis by a specified
Methods for removing data dependencies with a minimum number of blocks
. This paper focuses on how to easily and systematically break these loops.Two methods are covered in this paper, using function-call subsystems and unit delay blocks. Both of these methods can be used to
Postprocessing in Finite Element Method
Once the finite element matrix equations are solved for field values at the nodes, in postprocessing these derived quantities are graphically displayed. To know the variation of the field variable
Companion Software
This book is designed for an advanced course and is a companion volume to the introductory text, Modern Control System Theory and Design, 2e. In addition, it can serve as a text for practicing
Offsets an x- or y-axis from the plotted axis area
be added in any direction.figure;ax = axes;plot(x, y1);offsetaxis(ax, 'y', 0.05, 'x', 0.05, 'yloc', 'lr', 'xloc', 'tb');Example 2: More flexible multi-axis plotsMatlab includes a few helper functions
Break up a RINEX GPS file by a length of time
TIMESPLITRINEX splits a RINEX GPS file by time. TIMESPLIT(FILENAME,t) breaks a RINEX file into shorter files of length t in seconds. Useful for breaking a large file into days, or a day file into
Functions and example codes for a collocation spectral-element scheme (Chebyshev or Legendre)
Following in the spirit of Trefethen’s “Spectral Methods in MATLAB”, this toolbox provides concise functions and test scripts for a collocation-based spectral-element scheme.Features include:- choice
The STK is a (not so) Small Toolbox for Kriging
distributed in the hope that it will be useful, but WITHOUTANY WARRANTY; without even the implied warranty of MERCHANTABILITYor FITNESS FOR A PARTICULAR PURPOSE. See the GNU General PublicLicense for
Multiple RRT implementation for mobile robot path planning or C-space manipulator motion planning
% See Usage section in RrtPlanner.m file. This is a basic example of usage:treesMax = 28; %How many multiple trees (must be at least 2, 1 for source and 1 for destinationseedsPerAxis = 3; %Number of
allows to use both negative and positive values of Y axis on logarithmic scale
yscale_symlog applies symmetric logarithmic scale to Y axis of current axis (negative logarithmic scale at the bottom, positive logarithmic scale at the top). Handles also only positive or only
Codes implementing lattice Boltzmann method for solving population balance equations
. Rajendran. Lattice Boltzmann method for multi-dimensional population balances in crystallization. Chem. Eng. Sci., 2012, 70, pp 121-134.[3] A. Majumder, V. Kariwala, S. Ansumali, A. Rajendran. Lattice
Plot several datasets in a single axis using the ridgeline representation.
This function plots the given datasets in a single figure and axis, and resembling the cover of Joy Divisions' Unknown Pleasures by Peter Saville (and in many other newspapers, journals, etc.).The
SAMEAXES unifies/synchronizes axis limits on different axes and subplots.
()) unifies only the x-axis- and color-limits of all subplots that are children of the current figure sameaxes([], [fg1,fg2]) separately unifies children of figures fg1, fg2 In case
Adds a 'Wavenumber (cm^{-1})' axis on top of current graph where the the x-axis is in nm or µm.
ha2=addinvcmaxis(DecPlaces,Unit,ha)Adds a 'Wavenumber (cm^{-1})' axis on top of current graph where the the x-axis is in nm or µm. The xlabel should be specified with unit before running addinvcmaxis
Generating fractals through IFS & Chaos Game. Julia sets & Mandelbrot set.
usage is simple. Just type "fractals" and then the main window appears.More informations about fractals, IFS, Chaos Game, Julia Sets, Mandelbrot Set and the ifs-files can be found in fractals.pdf included
Break a string into multiple lines
The function linewrap.m wraps a single string into multiple lines by breaking it at word boundaries. The user can specify the desired maximum number of characters per line.
A collection of functions for 2D and 3D geometric computing (intersections, distance...) on various shapes: polygons, meshes, ellipsoids...
# MatGeomMATLAB geometry processing library in 2D/3D.[![View matGeom on File
Applications from the text: Classical Mechanics with Matlab applications by Javier E Hasbun, Jones &