image thumbnail

updated 21 days ago

scaleax by Chad Greene

Scale data and axis limits after plotting. (axis, axes, ylim)

scaleax documentation

scaleax(varargin)

image thumbnail

updated 25 days 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 2 months ago

fix_xticklabels - automatically convert xticklabels to multiple line format by Mikhail Erofeev

It will determine maximum allowed width of XTickLabels and convert them into multiple line format (xticklabels, xticklabel, multiple line)

image thumbnail

updated 4 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 5 months ago

xunits, yunits and zunits.m (Jul 2014) by Carlos Adrian Vargas Aguilera

Add unit (and prefix) to your axis labels. (units, xlabel, title)

xunits(varargin)

yunits(varargin)

zunits(varargin)

image thumbnail

updated 6 months ago

Mouse-friendly FIGURE by Rody Oldenhuis

Same as FIGURE, but zooming/panning is done more conveniently with scroll wheel/clicks. (figure, plot, axes)

image thumbnail

updated 6 months ago

eqaxsp.m by Adam Danz

Make all subplot axes equal (subplot, axes, axis)

eqaxsp (ax, lims)

image thumbnail

updated 6 months ago

plotyn.m by hk

multi-Yaxis (axes, multiple yaxis, plotting)

plotyn(varargin)

image thumbnail

updated 6 months ago

Set same axis limits to all currently open plots. by Johannes Keyser

SAMEAXES unifies/synchronizes axis limits on different axes and subplots. (axes, axis, limits)

sameaxes(XYZC, HNDS)

image thumbnail

updated 7 months ago

Format Tick Labels (Extended v2) by Maha

Replace Tick Label with LaTeX compatible Objects. Extends file 15986 created by Alexander Hayes. (annotation, axes, customization)

...

image thumbnail

updated 8 months ago

Draw in a Cardinal Coordinate System by Adina Stoica

Makes a plot centered at the origin, where the axes correspond to cardinal directions (cardinal directions, axes, coordinate system)

[xlim,ylim,zlim]=cardinalCoordSys(xlims,ylims,zlims)

drawXYPlane()

plot3orig(x,y,z,s,xlims,ylims,zlims)

image thumbnail

updated 9 months ago

XYrotalabel - rotate X-axis and Y-axis labels by David Powers

Very simple reliable script giving good control over label rotation (plotting, imagesaxesfigure prop..., images)

XYrotalabel.m

image thumbnail

updated 1 year ago

akZoom by Alexander Kessel

Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc. (2d, axes, mouse)

akZoom.m

image(varargin)

imagesc(varargin)

image thumbnail

updated 1 year ago

AddMultipleLegends by Alexander Mering

Add as many legend you want to a single figure (multiple, legend, plot)

AddMultipleLegends(figure_handle, first_axes_handle, lege...

Example

image thumbnail

updated 1 year ago

ScrollPlot - scrollable X/Y axes by Yair Altman

ScrollPlot adds a scroll sub-window to any supplied plot handles. (data exploration, scroll plot axes, scroll sub window)

scrollplot(varargin)

image thumbnail

updated 1 year ago

Draw or add axes to figure by Kye Taylor

Super helpful way to visualize axes in a 2D figure. (demo, visualization, axes)

drawAxes(ax)

image thumbnail

updated almost 2 years ago

GINPUT funtion to be used in GUIs by Pedro Teodoro

This function works similar to GINPUT but only presents the crosshair in axes specified by the user. (ginput, gui, axes)

ginputax(ax,arg1)

gui_ginputax(varargin)

image thumbnail

updated almost 2 years ago

subtightplot by Felipe G. Nievinski

Asymmetric subplots with variable inner gaps and outer margins. (subplot, plot, axes)

h=subtightplot(m,n,p,gap,marg_h,marg_w,varargin)

subtightplot_demo.m

image thumbnail

updated almost 2 years ago

tightfig by Richard Crozier

Remove excess margins from figures. (figure, axes, magrgin)

tightfig(hfig)

image thumbnail

updated 2 years ago

Find unused plot color by Deborah

Find the first unused default color in a plot or generate a random one. (plot, color, chose)

which_color(h_axes)

image thumbnail

updated 2 years ago

plotaxes(H,style) plots axes on figure H with the given style. by Brenden Epps

plotaxes(H,style) plots axes on figure H with the given style. (plot, figure, axes)

plotaxes(H,style)

image thumbnail

updated 2 years ago

Matlab script for generating nice plots by silver_surfer

A simple function for setting the common parameters of a 2D plot easily (figures, plot, settings)

pub_fig(x,y,line_width,line_style,line_color,marker,marke...

image thumbnail

updated 2 years ago

Take & Restore hold by Ioannis Filippidis

Hold axes temporarily, optionally respecting the previous hold state. (hold, hold on, hold off)

restorehold(ax, prevhold)

takehold(ax, mode)

image thumbnail

updated 2 years ago

Vectorized hold by Ioannis Filippidis

Vectorized version of hold function. (hold, vectorization, plot)

vhold(multiax, onoff)

image thumbnail

updated 2 years ago

getTightSubplotHandles by Jeremy Manning

Finer control over subplot spacing. (subplot, figure, axes)

getTightSubplotHandles(FIG_MARGIN,ROW_MARGIN,COLUMN_MARGI...

image thumbnail

updated almost 3 years ago

Clock by Alejandra Graciano

CODE TO MAKE A CLOCK (axes, if while)

clockex

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

fillfigure by Rob Comer

Reset axes position and limits to fill figure. (data exploration, fill, figure)

fillfigure(ax)

image thumbnail

updated 3 years ago

Select subplots with mouse, with visual feedback by Matt Caywood

Click the mouse to select (and visibly toggle) multiple subplots. Returns subplot indices. (data exploration, figure, plot)

selectplots(axisarray)

image thumbnail

updated 3 years ago

plotSeries - Color-code multiple plots by James Hall

plotSeries allows multiple plots to be easily color-coded (plot, plotting, color)

plotSeries(varargin)

image thumbnail

updated 3 years ago

inset2DAbsolute by James Hall

inse2DAbsolute creates an axes inset, defined using the larger axes, and corresponding annotations (plot, plots, plotting)

inset2DAbsolute(axesHandle, insetLoc, style, rectLoc, var...

image thumbnail

updated 3 years ago

Tiny Axis by Jeroen van Nugteren

This function shows the orientation of the provided axes plot in the lower left corner. (axis, corner, axes)

tinyaxis(ax,c1,c2,c3)

image thumbnail

updated 3 years ago

Draw two figures with separate x and y axis by Nassim Khaled

This script plots two sets of 1D data on the same figure. (data export, plot, axes)

figure_with_two_axis_with_same_grid(x1,y1,x2,y2,x_num_of_...

image thumbnail

updated 3 years ago

Split/Merge Matlab figures. by T. R.

Split/Merge Matlab figures. (split, merge, figure)

figmerge( FigLst, SubLoc, DstOpt, DoAxes, ...

figsplit( FigLst, DoAxes )

image thumbnail

updated 3 years ago

Data cursors for figure window by Malcolm Lidierth

Data cursor support for multiple axes in a fugure (data exploration, cursors, gui)

CreateCursor.m

CursorDemo()

CursorWindowButtonMotionFcn.m

image thumbnail

updated 3 years ago

Linked Pan and Zoom by Geoffrey Akien

Pans and zooms multiple axes on the same figure, with full control of axes linking. (gui, axes, zoom)

getposition(hObject, units)

panzoom(figureHandle, axesHandles, xLink, yLink)

unpanzoom(figureHandle)

image thumbnail

updated almost 4 years ago

Copy the ANOCOVA Prediction Plot to a New Figure by James Herman

Have you ever wanted to copy only the axes objects from the ANOCOVA Prediction Plot to a new figure? (aoctool, findall, copyobj)

copyanc()

image thumbnail

updated 4 years ago

MontageFigures by Nick Sinclair

Creates Montage (subplots) of Specified Figures and their subplots (montage, subplot, copy)

montagefigurefiles(x,y)

montagefigures(figurearray,x,y)

image thumbnail

updated 4 years ago

gridxy2 by Carey Smith

Plots colored gridlines. (A revision to gridxy needed for imagesc plots in MATLAB 7.10) (grid, gridlines, grid lines)

gridxy(x,varargin)

image thumbnail

updated 4 years ago

On-figure magnifier by David Fernandez-Prim

Powerful on-figure magnifier, suitable for the publication of compact graphical results (axis, zoom in, axes)

magnifyOnFigure( varargin )

magnifyOnFigure_examples.m

image thumbnail

updated 4 years ago

FLIPXYVIEW (v2.0, mar 2010) by Jos (10584)

flips (mirror rotates) the horizontal and vertical plot axes (plot, axes, flip)

flipxyview (hAxes)

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 almost 5 years ago

marginhist.m by Peter Perkins

2D scatterplot w/marginal histograms. (specialized, plotting, scatterplot)

marginhist.m

image thumbnail

updated 5 years ago

Centered coordinate axes in 2D plots by Johan Carlson

Takes the current coordinate axes (with ticks and labels) and draws new ones centered at the origin. (plot, plotting, axes)

centeraxes(ax,opt)

centeraxes_test.m

image thumbnail

updated 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

changeloglabels v3 by Jeffrey

Alters log labels to linear (10^1.45 to 28..). Remakes for zoom/pan. Automatically runs. (frequency, axis, log labels)

changeloglabels

image thumbnail

updated 5 years ago

addaxes.m v1.1 (Sep 2009) by Carlos Adrian Vargas Aguilera

Adds a new linked axis related by ANY monotonic function. Includes ZOOM/PAN and DATETICK utility! (plotyy, linkaxes, datetick)

addaxes(varargin)

image thumbnail

updated 5 years ago

Link figures by Yanai

Link the axes of different figures for zoom and pan (zoom, pan, figures)

LinkFigures(varargin)

image thumbnail

updated 5 years ago

ploty4.m by Peter (PB) Bodin

PLOTY4 support for a third and fourth y-axis. (specialized, plotting, plotyy)

ploty4(x1,y1,x2,y2,x3,y3,x4,y4,ylabels)

image thumbnail

updated 5 years ago

allowaxestogrow by Matt Caywood

With one click, zoom axes for better visibility. (data exploration, figure, plot)

allowaxestogrow(f)

Contact us