image thumbnail

updated 25 days ago

legendflex: a more flexible legend by Kelly Kearney

Create a legend with more flexible positioning and labeling capabilities (legend, label, potw)

getpos.m

legendflex(varargin)

legendflex(varargin)

image thumbnail

updated 1 month ago

legalpha by Chad Greene

legend with support for patch transparency. (alpha, transparency, legend)

legalpha

legalpha(varargin)

image thumbnail

updated 1 month ago

label by Chad Greene

label data directly on a plot (legend, plot, annotation)

label

label(h,textString,varargin)

image thumbnail

updated 1 month ago

subplot_grid by Joris Kampman

A subplot figure with a lot of fancy features (subplot, merge, interactive axes)

subplot_grid

image thumbnail

updated 2 months ago

legappend by Chad Greene

Append new entries to an existing legend (legend, plot, hold on)

legappend

legappend(newStrings,varargin)

image thumbnail

updated 3 months ago

Multipanel Figure Tools by Michael Schwendeman

Functions for making multipanel figures (i.e. subplots) with legends and colorbars. (subplot, legend, colorbar)

smartsubplot(figH,numAxRows,numAxCols,thisAxRow,thisAxCol...

subplotColorbar(axH,colors,cLimits,location)

subplotLegend(axH,plotH,legStr,orientation)

image thumbnail

updated 3 months ago

linelabel by Michelle Hirsch

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

linelabel(state,ind)

image thumbnail

updated 6 months ago

Adjust legend marker size by Andreas

A function to adjust the marker size of the current legend without changing the plot marker size (legend, markersize, marker)

legendmarkeradjust(marksize)

image thumbnail

updated 6 months ago

legend with delete buttons by Kevin J. Delaney

Adds delete pushbuttons to existing legend (legend, pushbutton, uicontrol)

add_buttons_to_legend(legend_handle, varargin)

image thumbnail

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

Place legend outside the plot, beneath the title by Kevin J. Delaney

Moves the legend outside the plot but underneath the title. (legend, top, outside)

box_1_inside_box_2(varargin)

boxes_overlap(box_1, box_2)

find_legend_peer(legend_handle)

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

Candystripe a Plot and Legend by Jonathan Sullivan

Adds candystriping to a given object, and automatically updates the legend entry as well. (plots, patch, bar)

candystripe(h,varargin)

image thumbnail

updated 1 year ago

legend1.m by Stavros Zanos

Control line and text entries in a legend object, individually. (plot, legend, loop)

legend1(s,c,fsz)

image thumbnail

updated 2 years ago

Legend Toggle by Matt Kindig

Toggle visibility of graphics objects by clicking on legend. Allows for custom callback function. (gui, legend, handle visibility)

legendToggle( handles, customCallback )

image thumbnail

updated 2 years ago

legendGrid by Mar Callau-Zori

LEGENDGRID Display legend in a grid mode. (legend, grid, figure)

legendGrid(varargin)

image thumbnail

updated 2 years ago

reorderLegend by Damith Senaratne

Re-orders the legend entries. (legend, reorder, rearrange)

reorderLegend(order,h)

image thumbnail

updated 2 years ago

Combined Legend for multiple axes by Shreyes

Provide an array of axes handles or 1 figure handle.It will create a legend of all the lines in axes (demo, legend, combined legend)

[leg,labelhandles,outH,outM]=legend_mod(source_axes,varar...

image thumbnail

updated almost 3 years ago

Automatic Map Scale Generation by Jonathan Sullivan

Intelligently creates and places a scale on a figure based on the lat/lon limits. (map, scale, callback)

makescale(varargin)

image thumbnail

updated 3 years ago

Colorbar labeling by Fanny Besem

Pimp up your colorbars. And easily! (colorbar, label, legend)

colorbarlabel.m

image thumbnail

updated 3 years ago

ncquiverref by Andrew Roberts

Quiver (vector) with a reference vector or color code on a map or Cartesian axes. (quiver, reference vector, legend)

ncquiverref(x,y,u,v,units,reftype,refvec,veccol,cont)

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

gridLegend - a multi column format for legends by Adrian Cherry

Plot a multicolumn format legend. (figure, plot, legend)

gridLegend(hdl,gd,varargin)

gridDemo.m

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

legendshrink by Will Robertson

Shrinks the length of the legend lines. (plot, legend)

legendshrink(s,align,lg)

image thumbnail

updated 5 years ago

labelplot by Will Robertson

Adds plot legend based on 'Tag' (annotation, customization, legend)

labelplot( p , o , str , i)

image thumbnail

updated 5 years ago

clickableLegend by Ameya Deoras

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

clickableLegend(varargin)

image thumbnail

updated 5 years ago

Edit linestyles of plot legends by Johan Carlson

Simple fix for adding markers to plot legend lines. (plotting, plot legend, plot augmentation)

legendlinestyles(h,markers,linestyles,linecolors)

legendlinestyles_test.m

image thumbnail

updated 5 years ago

ezgraph by Matt Fig

Performs basic formatting of a plot with a single GUI. (annotation, customization, easy)

ezgraph(varargin)

image thumbnail

updated 6 years ago

Legend from DisplayName by Kristian Svartveit

Adds legend with strings from DisplayName (annotation, customization, legend)

legendFromDisplayName(h, varargin)

image thumbnail

updated 8 years ago

LEGENDTITLE by Steve Simon

Add a title string inside a legend. (annotation, customization, legend title)

legendtitle(legh,titlestr,varargin)

image thumbnail

updated almost 9 years ago

scale.m by Tom Coulter

Rescales all plots in specified figures. (plot, axis, legend)

image thumbnail

updated 9 years ago

interactivelegend by Francois Bouffard

Highlights and identifies a selected plot object. (data exploration, plot, selection)

interactivelegend.m

image thumbnail

updated 9 years ago

legendbar by Isabella Osetinsky

Places your items in legend in just same way as they stacked in bar. (annotation, customization, legend)

lb=legendbar(b)

image thumbnail

updated almost 10 years ago

resize_legend by Denis Gilbert

Changes LEGEND fontsize. (annotation, customization, legend)

resize_legend (hL, ResizeFact)

resize_legend_test.m

image thumbnail

updated almost 10 years ago

update legend by nino wallace

With this function you can refresh the existing legend. (annotation, customization, legend)

plot_update_legend(var1,var2,varargin);

image thumbnail

updated 10 years ago

Enhancement to errorbar() plot by Chuong Nguyen

Better alternative to errorbar() for flexibilities and avoidance of error with legend(). (annotation, customization, errorbar)

errobar_plus(x,y,e,prop,dir)

image thumbnail

updated almost 12 years ago

legnum by Alex Barnett

Add legend using vector of numbers. (annotation, customization, legend)

legnum(a, prec, prefix)

num2cellstr(a, prec, prefix)

Contact us