Main Content

761 results in File Exchange

tight_subplot(Nh, Nw, gap, marg_h, marg_w)

Version 1.1.0.0 by Pekka Kumpulainen

Fills the figure with axes subplots with easily adjustable margins and gaps between the axes.

Subplot tends to leave a lot of empty space around the axes. Tight_subplot allows to adjust the spacing between the axes as well as the margins around the axes.For example:[ha, pos] =

- tight_subplot creates "subplot" axes with adjustable gaps and margins
  • 56.5K (All time)
  • 76 (Last 30 days)
  • 4.7 / 5
  • Community
  • 3 Mar 2016

Controllable tight subplot

Version 1.3.0.0 by Nikolay S.

Subplot wrapper, allowing better figure utilization, by tighter axes.

Allows fully utilizing the figure surface by defining margins, by wrapping the existing subplot function. Unfortunately the original subplots function spends lavishly the figure area , without

- DEMO of subplot Vs subplot_tight
  • 14.5K (All time)
  • 7 (Last 30 days)
  • 4.4 / 5
  • Community
  • 31 Jul 2016

Border-less tight subplot (auto-refresh)

Version 1.1.5 by Eduard Reitmann

Creates subplot axes similar to the subplot function, but minimizes the white space between the different axes. Can be used for single axes.

Creates subplot axes similar to the subplot function, but minimizes the white space between the different axes. Similar to the "Expand axes to fill figure" command in the export tool but works for

- Creates subplot axes similar to the subplot function, but
- Creates subplot axes with common x-axis and minimizes the
  • 1.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 26 Jul 2018

COVID-19 World Spread Animation

Version 1.5.5 by Joshua McGee

This code will generate an animation displaying the spread of COVID-19 and save it as a video file. Data is obtained and processed from HDX.

- creates "subplot" axes with adjustable gaps and margins
  • 528 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Apr 2020

getTightSubplotHandles

Version 1.0.0.0 by Jeremy Manning

Finer control over subplot spacing.

This function allows the user to easily exert finer control over the spacing between subplot panels. The function returns handles to subplots with the specified spacing.The user can specify the

- GETTIGHTSUBPLOTHANDLES return handles to subplots of with the specified spacing
  • 590 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Mar 2012

2d and 3d brain plots

Version 1.6.0.0 by Jeremy Manning

Quickly and easily create 2d and 3d plots of fMRI data.

- GETTIGHTSUBPLOTHANDLES return handles to subplots of with the specified spacing
  • 2.9K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Jan 2017

kolian1/texture-segmentation-LBP-vs-GLCM

Version 1.3.0.0 by Nikolay S.

A Matlab Image segmentation via several feature spaces DEMO

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

Remove White Space,Make Subplot Tight

Version 1.0.2 by LittleTiger301

Make the most use of the matlab default figure set, adjust the position of the axes of subplot , remove white space,make figure tight.

tight.%***********************************************************************function [] = MakeSubplotTight(Hgcf,Nrow,Ncol)ORfunction [] = MakeSubplotTight(Hgcf,Nrow,Ncol,MarginLeft,MarginRight,MarginTop,MarginBottom,GapRow,GapCol)%Variables: At least 3 variables,and 6 optional

  • 71 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 5 Oct 2022

mravendi/LV-segmentation-in-cardiac-MRI

Version 1.0.0.0 by matlabsharecodes

semi-automatic segmentation of LV in cardiac MR images

- Puts a title above all subplots.
  • 998 (All time)
  • 4 (Last 30 days)
  • 3.7 / 5
  • Community
  • 14 Jul 2015

tightly_SubPlot

Version 1.0.2 by yu shi

note : manual by user to adjust axis size and position of subplot to plot figure tightly

function tightly_SubPlot(m,n,scale,edge,name,type)% m as row num% n as col num% scale as axis size of each subplot, use to adjust distance between subplot % edge as the distance from the coordinate

  • 59 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 23 Aug 2020

ifi-beampattern-interval-analysis

Version 2.1.1 by Gabor Gereb

An object-oriented package for beampattern interval analysis. This package is dependent on the complex interval arithmetic package.

- creates "subplot" axes with adjustable gaps and margins
  • 12 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 9 May 2023

Implementation of C1 FEM

Version 1.0.0 by Jan Valdman

Detailed implementation of Bogner-Fox-Schmit elements.

  • 204 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 25 Apr 2019

HRViewer

Version 1.0.0 by Anurak Thungtong

HRViewer is a matlab software tool designed for in deep viewing and comparing HRV indices computed from different EKG files as well as diffe

  • 179 (All time)
  • 3 (Last 30 days)
  • -- / 5
  • Community
  • 9 Dec 2019

mpsim

Version 2019.05.07 by Felipe G. Nievinski

A GNSS multipath simulator in Matlab/Octave

  • 492 (All time)
  • 3 (Last 30 days)
  • -- / 5
  • Community
  • 26 Nov 2020

IENT/NTAnalyzer

Version 1.0.0.0 by Christian Rohlfing

Realtime signal analyzer (PDFs, correlation, audio playback and recording, spectrum analyzer)

  • 78 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 26 Feb 2016

gnss2tws_slepian

Version 1.0 by 中山

GNSS2TWS_Slepian: A software to recover daily GNSS-inverted terrestrial water storage changes based on Slepian basis functions

  • 16 (All time)
  • 6 (Last 30 days)
  • -- / 5
  • Community
  • 20 Oct 2024

Simple DTMF Encoder & Decoder

Version 1.0.1.4 by DGM

Simple tools for demonstrating encoding and decoding a sequence of DTMF tones.

  • 336 (All time)
  • 3 (Last 30 days)
  • -- / 5
  • Community
  • 30 Sep 2022

  • 112 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 21 Aug 2017

tightSubplot

Version 1.1.0 by Colin Rowell

Customizable version of standard MATLAB subplot function, for specifying axes positions and sizes.

Customized subplotting routine for cleaner/tighter/highly customizable axes compared to a standard MATLAB subplot. Basic functionality is largely the same as MATLAB's built in subplot, however this

  • 44 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 27 Jun 2024

code for shock ED paper 2020 JCIS

Version 11.0.0 by Huanhuan

depth-averaged model

  • 4 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 10 Jul 2024

  • 1.3K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 17 Feb 2022

Tight subplot with units in centimeter

Version 1.0.0.0 by Auralius Manurung

Fork of tight_subplot function (submission #27991 by Pekka Kumpulainen)

Fork of tight_subplot function: https://www.mathworks.com/matlabcentral/fileexchange/27991-tight-subplot-nh--nw--gap--marg-h--marg-w-Units are in cm, making it easy to prepare a figure for a paper

  • 293 (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 13 Jul 2016

subplotN

Version 1.0.0.0 by Fred Massin

For a tight, aligned matrix of axes

[ axeshandle, links ] = subplotN( ROWS , COLS, < index , switchorder >) subplotN(r,c) breaks the Figure window into an R-by-C matrix of small axes, and returns the axes handles. The axes

  • 138 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 11 Dec 2014

Subaxis - Subplot

Version 1.1.0.0 by Aslak Grinsted

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

- SUBAXIS Create axes in tiled positions. (just like subplot)
  • 29.2K (All time)
  • 9 (Last 30 days)
  • 4.8 / 5
  • Community
  • 9 Jul 2014

Simulation of the U.S. population dynamics in 2001-2011

Version 1.1.0.0 by Michael Pokojovy

Simulation of the U.S. population dynamics in 2001-2011

- http://www.mathworks.com/matlabcentral/fileexchange/30884-controllable-tight-subplot/content/subplot_tight/subplot_tight.m
  • 263 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 14 Sep 2015

plotLineHist

Version 1.2 by Valerio Biscione

plot summarized data and data distribution at the same time

- tight_subplot creates "subplot" axes with adjustable gaps and margins
  • 141 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 11 Nov 2015

Image/matrix shift

Version 1.1.0.0 by Nikolay S.

Two of my functions used for registration-matrix shifting as alternative to circshift.

addition it supports only integer shift values, while fractional number sometimes needed. See subplot 1- with sky’s coming out of the ground. Sometimes it is better to assume zero values outside the image

  • 1K (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 27 Jan 2014

subtightplot

Version 1.2.0.0 by Felipe G. Nievinski

Asymmetric subplots with variable inner gaps and outer margins.

subtightplot is a merger of Pekka Kumpulainen's tight_subplot and Nikolay S.'s subplot_tight. It extends the former, which supports asymmetric subplots, to allow for variable margins in addition to

- Upper and Lower Subplots with Titles
  • 17.1K (All time)
  • 11 (Last 30 days)
  • 4.8 / 5
  • Community
  • 8 Jan 2013

SubPlot

Version 2.0.0 by Farhad Sedaghati

This code gets different single fig files and plot all of them together inside a new figure.

This code is used once there are several saved fig files and the goal is to open all of them together in a new figure as different subplots. The order of subplots is based on the order in which

  • 6.6K (All time)
  • 2 (Last 30 days)
  • 4.5 / 5
  • Community
  • 26 Mar 2020

smplot for small multiples

Version 1.0.0.0 by Chad Greene

Subplots without extra space in their twixt.

This function behaves like subplot, but sets figure margins to zero and leaves no space between subplots unless requested by the user. This is similar to other submissions on FEX including tight

- smplot creates axes in tiled positions. This is similar to subplot, but
  • 663 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Sep 2015

An improved subplot function

Version 1.0.0.0 by Eran Ofek

An improved subplot function

Allows to control the distance between subplots, add labels on rows/columns only and more.% simple example:subplot1(2,3);subplot1(1); plot(rand(10,1));subplot1(2); plot(rand(10,1));...

  • 9.1K (All time)
  • 2 (Last 30 days)
  • 4.3 / 5
  • Community
  • 20 Jan 2006

Subplots Divided into Full Figures

Version 1.0.1 by Akshay Kumar

This code is to separate subplots into the full plot which you can save.

Please use "help Sub_Fig_Divider" and "help Example_File" to know how to use this code in separating the subplots.

  • 1.1K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 2 Apr 2019

Subplot position calculator

Version 1.0.0.0 by Christopher Hummersone

Calculate subplot positions by specifying figure margins and axis scaling.

subfigrid(nrows,ncols,offset,scale)The spacing of axes using the subplot command can be quite large, and manipulating axis positions after plotting can be tricky. For publication quality graphics, it is better to specify the subplot

  • 985 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Aug 2016

Advanced Scroll Plot with Subplot Handling

Version 1.0.0.0 by Benoit Cantin

Scrollplot with subplot handling.

Wolfgang Stiegmaier's scrollplot function (Steven Lord's scrollplotdemo) with subplot handling.% example% % temps = linspace(0,10*pi,100001);% Y1 = sin(temps);% Y2 = cos(temps);% Y3 = sin(temps).^2

  • 2.4K (All time)
  • 3 (Last 30 days)
  • 4.7 / 5
  • Community
  • 9 Mar 2005

samexaxis (nice subplots with same x axis)

Version 1.0.0.0 by Aslak Grinsted

Makes it alot easier to make nice figures with the same x axis.

Features:* Automatically sets xlim to the same for all subplots Removes xticklabels where it is not needed.* Can join a subplots (if it is made with subplot instead of subaxis)* Can set the ylabel

- helper function to clean up subplots that have common x axises
  • 13.8K (All time)
  • 2 (Last 30 days)
  • 4.4 / 5
  • Community
  • 29 Mar 2005

numSubplots - neatly arrange subplots

Version 1.0.0.0 by Rob Campbell

Calculate how many rows and columns of sub-plots are needed to neatly display n subplots.

Sometimes a graphing function will not know in advance how many sub-plots are to be created. In this case hard-coding the number of rows and columns for the subplot command may not be possible. This

- function [p,n]=numSubplots(n)
  • 1.9K (All time)
  • 3 (Last 30 days)
  • 4.7 / 5
  • Community
  • 7 Jan 2010

Spaceplots

Version 1.5.0.0 by Aditya

Customize spaces between subplots in a figure

wanted to save space by making tight subplots, so I wrote this function. Thought it will be useful to others too.>> Create your figure first, and then use spaceplots. It is a very non-intrusive

- SUBPLOT Create axes in tiled positions.
  • 7.3K (All time)
  • 2 (Last 30 days)
  • 3.7 / 5
  • Community
  • 3 Jun 2013

subplotplus() - Enhanced layout MATLAB subplot function

Version 1.1.0.0 by Alon Geva

subplotplus() is an enhanced alternative to the inherit subplot() function of MATLAB.

[subplot_handles,LabelsFontSize] = subplotplus(subplot_array,varargin) is an enhanced alternative to the inherit subplot() function of MATLAB. Using subplotplus() almost any layout of subplots can be

- SUBPLOTPLUS Enhanced subplots creation function.
  • 2.1K (All time)
  • 1 (Last 30 days)
  • 4.7 / 5
  • Community
  • 18 Jan 2012

axshift

Version 1.0.0.0 by paul koch

axshift() -funtion to manually resize and rescale subplots/axis within a figure

) rand(1)],'linewidth',2); title(num2str([i]),'fontweight','bold'); end subplot(4,3,i+1);image,axis tight;colorbar; subplot(4,3,i+2);image,axis tight;colorbar subplot(4,3,i+3);image,axis tight; axshift;

  • 1.1K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 13 Apr 2009

sub-plot legend

Version 1.1.0.0 by Ahmed Badr

Creates a one legend for many sub-plots in the same figure with your customized location

This script creates a one legend for many sub-plots in the same figure located in a customized location with a guidelines for most common location used while creating Matlab files

- This script solves matlab problem of creating one legend
  • 1.8K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 2 Nov 2010

MATLAB Plot Gallery - Subplot (2)

Version 1.1.0.2 by MathWorks Plot Gallery Team

Create subplots with multiple plot types

This is an example of how to create subplots with multiple plot types in MATLAB®.Read about the "subplot" function in the MATLAB documentation.For more examples, go to MATLAB Plot Gallery -

  • 3K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Dec 2018

subplot_grid

Version 1.11.0.0 by Joris Kampman

A subplot figure with a lot of fancy features

SUBPLOT_GRID is a class with which a set of subplots can be created in a space-optimal way. In addition, a figure title and subtitle may be added, as well as specific row and column titles.Even after

- this.hfig.SizeChangeFcn = this.reposition_content
  • 1.8K (All time)
  • 1 (Last 30 days)
  • 4.3 / 5
  • Community
  • 12 Jan 2015

Y-labels alignment in subplots

Version 1.1.0.0 by gbernardi

Function to align the ylabels within a figure containing multiple subplots

This function takes care of the alignment of ylabels in figures with multiple subplots.This is done because ylabels are usually not aligned when the yticks labels are of different length in different

- ALIGN_YLABELS - Align the y-labels in the each column of a subplots-based figure such as they all
  • 2.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Jun 2013

tightfig(hfig)

Version 1.7.0.0 by Richard Crozier

Remove excess margins from figures.

Alters a figure so that it has the minimum size necessary toenclose all axes in the figure without excess space around them.Works for figures containing multiple axes as subplots.Note that tightfig

  • 29.6K (All time)
  • 15 (Last 30 days)
  • 4.8 / 5
  • Community
  • 13 Feb 2018

suplabel

Version 1.5.0.0 by Ben Barrowes

Places text as a title, xlabel, or ylabel on a group of subplots.

PLaces text as a title, xlabel, or ylabel on a group of subplots. Returns a handle to the label and a handle to the axis.[ax,h]=suplabel(text,whichLabel,supAxes)returns handles to both the axis and

  • 40.6K (All time)
  • 7 (Last 30 days)
  • 4.4 / 5
  • Community
  • 8 Aug 2018

MatGemini

Version 5.6.0 by scivision

Core Matlab scripts for Gemini

  • 147 (All time)
  • 6 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Jul 2024

figs2subplots

Version 1.0.0.0 by Francois Bouffard

Combine axes in many figures into subplots in one figure.

This function allows the user to select figures and axes within figures and copy them as subplots into a new figure. A list of handles is the only mandatory argument. If a handle to an axes object is

  • 5.3K (All time)
  • 2 (Last 30 days)
  • 4.1 / 5
  • Community
  • 15 Feb 2008

subplotHelper

Version 2.0 by Frederick Zittrell

Helps with organizing and referring to SUBPLOT axes with an interactive grid tile chooser.

This simple class helps with using SUBPLOT(M, N, P) by showing the SUBPLOT gridthat will be created. The user can interactively choose the grid tiles that shouldbe used for each axes by brushing the

- Helps with organizing and referring to SUBPLOT axes.
  • 94 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Jul 2020

Nonlinear fitting n-dimensional data with arbitrary functions

Version 1.0.0.0 by Jan Keller

Demonstrates the abilities of Matlab functions lsqcurvefit, fmincon and fminsearch to fit complex mo

  • 4.1K (All time)
  • 2 (Last 30 days)
  • 4.3 / 5
  • Community
  • 23 Jul 2008

Advanced Scroll Subplot Function

Version 1.0.0.0 by Wolfgang Stiegmaier

Scrollsubplot704 with dynamic range of time (x) axis, with subplot handling.

Further development of scrollsubplot(), scrollplotdemo() and scrollplot().In this version a figure handling and autoplot function is implemented.The new subplot handling inspired by Benoit Cantin

  • 2.5K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 16 Aug 2005

Local binary patterns

Version 1.92.0.0 by Nikolay S.

Calculates image LBP (Local binary patterns).

  • 21.6K (All time)
  • 10 (Last 30 days)
  • 4.5 / 5
  • Community
  • 25 Jul 2017

Shift based LBP

Version 1.1.0.0 by Nikolay S.

The function implements LBP (Local Binary Pattern analysis), in a shift based manner.

  • 1.1K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 21 Feb 2015

subplotPPT

Version 1.5.0.1 by Mark Hoyle

Saves multiple MATLAB figure windows to powerpoint giving the user "subplot" style control over thei

Saves multiple MATLAB figure windows to powerpoint giving the user "subplot" style control over their positions in the final slide.Given multiple figures you can use commands like:subplot

- Print a figure to a region of a powerpoint slide.
- subplotPPT _ Demo script
  • 3.3K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Sep 2016

One-time rescale subplots

Version 1.0.0.0 by Benny Veikhman

one time rescales all subplots of figure by x range

M-file. The function rescales all subplots of current figure by x range simultaneously. It gets start and stop points by parameters and uses it for all subplots. Function useful for the analysis of

  • 867 (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 14 Nov 2006

DRAGZOOM - Drag and zoom tool

Version 1.13.0.0 by Evgeny Pr

DRAGZOOM allows you to handy interactively manage the axes in figure.

:- Supports 2D-Plots, 3D-plots, Log plots and Images- Supports multiple mixed (subplots) (2D, 3D) axes on one figure- Supports X,Y,XY linking of several 2-D axes (Synchronize manage)- Rubber Band Region Zooming

- TEST_IMG Test Subplot Images with DRAGZOOM
- TEST_SUBPLOT_3D Test subplot 3D with DRAGZOOM
- TEST_SUBPLOT_2D Test subplot 2D with DRAGZOOM
- TEST_SUBPLOT_2D_3D Test mixed subplot 2D/3D with DRAGZOOM
  • 5.8K (All time)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 5 Jun 2011

gridSubplot

Version 1.0.0.0 by Mar Callau-Zori

Build a figure with subplots given by an figures vector. Only axes are copied.

GRIDSUBPLOT build a figure with subplots given by an figures vector. Only axes are copied. F = GRIDSUBPLOT(FIG_VECTOR) build a figure F with with subplot given by the figures in FIG_VECTOR

- % GRIDSUBPLOT build a figure with subplots given by an figures vector.
  • 243 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 23 Dec 2011

MontageFigures

Version 1.6.0.0 by Nick Sinclair

Creates Montage (subplots) of Specified Figures and their subplots

This creates a new figure containing subplots of other currently open figures including all non-colorbar axes in the figure (i.e. including subplots). example: i have figures 12 15 18 open. and I

  • 1.8K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 3 Aug 2010

subplot position

Version 1.1.0.0 by Yuheng

Calculate the position of subplots when you want to plot similar figures togather.

subplot_position Calculate position of subplot axis [P_SUBPLOT,P_FIG] = subplot_position(X_WIDE,Y_WIDE,X_NUM,Y_NUM,FLAG_COLORBAR) x_wide, y_wide are width of x and y direction, in pixels

  • 102 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 24 Oct 2016

MATLAB Plot Gallery - Subplot (1)

Version 1.1.0.2 by MathWorks Plot Gallery Team

Create subplots

This is an example of how to create subplots in MATLAB®.Read about the "subplot" function in the MATLAB documentation.For more examples, go to MATLAB Plot Gallery -

  • 2.2K (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 19 Dec 2018

figtitle

Version 1.4.1 by Chad Greene

Create a title for a figure with multiple subplots.

subplots.Syntax:figtitle('TitleString')figtitle('TitleString','TextProperty','TextValue')h = figtitle(...)Description:figtitle('TitleString') centers a title at the top of a figure and sets the figure name to 'TitleString'.figtitle('TitleString','TextProperty',TextValue) formats the title

  • 8K (All time)
  • 3 (Last 30 days)
  • 4.5 / 5
  • Community
  • 20 May 2019

Load more