748 results
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] =
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
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
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.
Medical software for Processing multi-Parametric images Pipelines
DynaSim simplifies the process of building and simulating models of dynamical systems.
Quickly and easily create 2d and 3d plots of fMRI data.
A Matlab Image segmentation via several feature spaces DEMO
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
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
semi-automatic segmentation of LV in cardiac MR images
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
An object-oriented package for beampattern interval analysis. This package is dependent on the complex interval arithmetic package.
Detailed implementation of Bogner-Fox-Schmit elements.
HRViewer is a matlab software tool designed for in deep viewing and comparing HRV indices computed from different EKG files as well as diffe
A GNSS multipath simulator in Matlab/Octave
Realtime signal analyzer (PDFs, correlation, audio playback and recording, spectrum analyzer)
GNSS2TWS_Slepian: A software to recover daily GNSS-inverted terrestrial water storage changes based on Slepian basis functions
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
Simple tools for demonstrating encoding and decoding a sequence of DTMF tones.
MDD allows the implementation of multidimensional Python-esque dictionaries in MATLAB.
depth-averaged model
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
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
Simulation of the U.S. population dynamics in 2001-2011
plot summarized data and data distribution at the same time
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
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
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
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
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
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.
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));...
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
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
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
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
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
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
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;
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
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 -
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
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
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
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
Core Matlab scripts for Gemini
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
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
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
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
Calculates image LBP (Local binary patterns).
The function implements LBP (Local Binary Pattern analysis), in a shift based manner.
Demonstrates the abilities of Matlab functions lsqcurvefit, fmincon and fminsearch to fit complex mo
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
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
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
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
Replot individual figures as sub axes on one figure with many subplots.
Take individual figures and put them together into one figure with multiple subplots.Inspiration from Bruno Luong