2,279 results
Generate a bar plot with multiple stacks grouped together.
Plot a set of stacked bars, but group them according to labels provided.Params: stackData is a 3D matrix (i.e., stackData(i, j, k) => (Group, Stack, StackElement)) groupLabels is a CELL
ERRORBAR_GROUPS produces customizable grouped bar plots with overlaid error bars.
At its most basic, this function produces bar plots similar to those obtained using MATLAB's BAR(Y,'grouped') function call, and then overlays error bars onto the corresponding bars. ERRORBAR_GROUPS
Plots a fully customizable grouped bar graph with error bars
barweb.m calls the BAR and ERRORBAR MATLAB functions to produce bar graphs with error bars. The resultant graph is fully customizable, from group naming to legend inclusion to colormap setting. It
Bar plots for multiple conditions and groups (part of a larger toolbox for 2-level factorial data)
significance but on effect size. Using stacked bars and adding number values on top of them can be particularly effective in conveying effect sizes among conditions or among groups.The examples below illustrate
Management of data tables, similar to dataframe in R, with enhanced plotting facilities.
Explorer window* Type "MatStats" in the search bar, and select the MatStats library. * Click the "Add" button to add the library to your local configuration### Manual installationTo install the toolbox
Plots nice error bars as the default. Can also top group plots with error bars.
2*E(i) long. If Y and E are a matrices, errob groups the bars produced by the elementsin each row and plots the error bars in their appropriate place above the bars.errorb(X,Y,E) plots Y versus X with
Change the color of a bar to same groups have the same color.
SETCOLOR_BARBYGROUP change the color of a bar to same groups have the same color.SETCOLOR_BARBYGROUP(COLOR) change the color of a bar with N groups where the i-th group has the COLOR(i, :) color
Add pairing brackets to a bar plot (e.g. to indicate statically significant differences)
fit the brackets4. To only include within group pairings set pairsBG = []5. Within group brackets are plotted first. Each bracket is plotted at the minimum y-value (above bars and errorbars between the
Boxplots for multiple conditions and groups (part of a larger toolbox for 2-level factorial data)
significance but on effect size. Using stacked bars and adding number values on top of them can be particularly effective in conveying effect sizes among conditions or among groups.The examples below illustrate
Control with ease the relative position and color of every bar, bar group, and offset in your bar chart.
height of the plot, the aspect ratio, bar offset (spacing between individual bars in groups), bar group offset (spacing between groups of bars), x-limit offset (space between data and plot extents on
Create and customize a bar graph with error bars. Supports grouped data.
This function will create a grouped bar graph with error bars without using the standard plotting functions BAR and ERRORBAR. It uses PATCH to create the bars and LINE to construct the error bars
E-Fi (Evasive Wi-Fi) main code - an LTE and WiFi coexistence mechanism in the Unlicensed band
groups categorical data in a bar chart
and category combination. This output can be easy graphed using a bar chart. The output is organized in a way the grouping comes first followed by the category which makes difference between the groups
Group ICA/IVA software (MATLAB)
under grant 1RO1EB000840 to Dr. Vince Calhoun and Dr. Tulay Adali. It is a MATLAB toolbox which implements multiple algorithms for independentcomponent analysis and blind source separation of group (and
Plots a bar graph with 2 y axes including errorbars
plots a 2 axis bar plot by normalizing values to be from 0 to 1 on both data sets, plotting them as one grouped bargraph, adding 2nd y-axis and then modfying y axis ticks. bar1 & bar2 are column
Threshold crossing deletion: deletes (makes nan) all bar the max value for every group of consecutive values over a threshold.
the group are deleted (made nan)%% Inputs:% var - data for the calculation% threshold - threshold to calculate groups from%% Outputs:% var_tcd - variable with group data deleted bar the max values
Short code to plot binomial data with confidence intervals and basic data fitting.
Groups of bars that are stacked according to a grouping variable, as opposed to the y-axis.
% twogroup_stacked_bar - plots a bar of a grouped variable that is also stacked by a different grouping%% Inputs:% var - data for binning% bins - the bin edges, where bins(1) is the left edge of
Four-bar linkage lengths are optimized using MATLAB to follow a desired trajectory.
This example shows a four-bar linkage modeled in Simscape Multibody that is optimized using MATLAB so that the tip of the linkage follows a desired trajectory.Mechanical designers often wish to
Group boxplots together along the x-axis with space between groups.
x = {rand(100,2), rand(20, 2), rand(150,2)}; boxplotGroup(x)The lines above will create two groups of three boxplot boxes per group, with space separating the groups. You can control the amount of
Plot Groups of Stacked Bars with second y-axis
This is an extension to https://de.mathworks.com/matlabcentral/fileexchange/32884-plot-groups-of-stacked-bars?s_tid=srchtitle by Evan (https://de.mathworks.com/matlabcentral/profile/authors/807971)
Removes/restores the border and title bar of Matlab figures
Description: undecorateFig removes the border, title bar, menu bar and toolbar of a Matlab figure. redecorateFig restores the figure to its previous (decorated) state. Syntax
This function creates a TEXT progress bar in your command window.
This function creates a text progress bar to show progress of your script in the command window. It should be called with a STRING argument to initialize and terminate. Otherwise the number
This is a very simple extension of MatLab's bar function to add error bars.
Creates an attractive shaded error region rather than discrete bars.
shadedErrorBar shadedErrorBar is a MATLAB function that creates a continuous shaded error region around a line rather than discrete bars.The error region can either be specified explicitly or
Adjust error bars width in an errorbar plot to a ratio of the x-axis or a length (x-axis units).
function errorbar_tick(h,w,xtype)ERRORBAR_TICK Adjust the width of errorbarsERRORBAR_TICK(H) adjust the width of error bars with handle H. Error bars width is given as a ratio of X axis lenght
Matlab Graphical Interface for the study of hypocotyl growth
Seamlessly merge a bar chart with a map to display geographically-coded categorical variables
Let us break down the example code that calls the bar_chart function:Data Loading:The code begins by loading data from a file named dataexample.Data Description:The following variables are
This code plots bars with errorbars, as simple as that.
, this function provides the handles to the BAR and ERRORBAR lines for further modification.[b,e] = errorbarbar(y,e); % or ...[b,e] = errorbarbar(x,y,e); % where x is center location of the group of
Sets a figure's docking group container
setFigDockGroup sets a figure's (or list of figures') docking group container, enabling to dock figures to containers other than the default 'Figures' container (for example, to the 'Editor' group as
This function makes a 3D bar plot with error bars
give the function two matrices, on matrix with bar peak heights, the other matrix with error bar lengths.See the commented section in the function code for example code to test it withbased on code
Create a sortable Java-based tree-table GUI control having collapsible/expandable data row groups
, ColumnTypes, ColumnEditable, Groupable, InteractiveGrouping (see internal help section for details)Output parameters: htable - handle to Java tree-table objectImportant features: * Table is fully sortable
3D bar plot with arbitrary coloring
This function creates a 3D bar plot with arbitrary coloring for each individual bar from an MxN matrix. Bar heights = elements of the matrixBar colors = (1) user-specified colormap or (2) MxNx3 array
Create Menu Bar (s) on any location in a figure window
This function MenuBar, allows the user to create menu's anywhere in a figure it replaces UIcontextmenu of UIpanels by real menu bars. menubar(figure_handle) or menubar Mouse hover, and
This code provides an alternative view of confusion matrix data by plotting as a bar chart.
This function will produce a bar plot to show the true positives (TP) versus the false negative (FN) for each target class. Both correct and incorrect classifications are color-coded to show the
Animate Any Four Bar Linkage configuration
Plot Any Four Bar Linkage configuration including: Double-Crank, Rocker-Crank, Double-Rocker and Change Point. Keep pressing on the ENTER key when prompted by the code. To better visualize the
Creates a 3-D bar chart where bars are placed in user specified X-Y locations.
SCATTERBAR3(X,Y,Z,WIDTH) draws 3-D bars of height Z at locations X and Y with width WIDTH. X, Y and Z must be of equal size. If they are vectors, than bars are placed in the same fashion as the
Attractive and full-featured progress bars.
Progress bars can be used to track long-running matlab programs where alternatives (e.g. displaying progress information in the console) are infeasible.Progress bars can be group in windows, and
Plots Bar plots of Data with corresponding errorbars.
[1 1 1 1 1 1 1 1 1 1 ; 2 2 2 2 2 2 2 2 2 2];[hBars,hError] = BarsWithError(Y,YError,YError,'random',{'Group 1','Group 2'},'Sample Bar Chart')Neatly plots Bar plots with corresponding errorbars which
plot pairwise relationships in matrix
group= Fisher(:,1); colors = lines(length(unique(group))); figure; pairplot(Fisher(:,2:size(Fisher,2)), {'PW', 'PL', 'SW', 'SL'}, num2cell(num2str(group)), colors, 'bar'), ylabel('Probability') figure
Display bar values on-top of bars in a bar or histogram plot .
matlab-barvaluesa matlab function for displaying values atop bars in barplots (and similar plots).
A simple text/console progress bar for the builtin ODE solvers
If you're like me and have to run some ODE solvers in remote computers via telnet/ssh, you will find this simple output function very handy.It just prints a progress bar in the console according to
A tqdm alternative in MATLAB, also a progress bar for any MATLAB program.
MATLAB Progress BarA simple progress bar for MATLAB.UsagePlease ensure that the progressbar.m file is located within your MATLAB path. The following is an example demonstrating its usage:for i =
Simple wrapper to bar allowing you to specify bar colors and labels.
Quite frequently you want to color the bars in a bar chart according to your own scheme - e.g. to highlight an anomalous measurement in red. The bar function doesn't make it easy to do this, but
Move a barplot's base value.
An M-file to move the base value for bar and hist plots from 0 to any value. Especially useful for log-scale bar plots.
Add significance bars and asterisks to various plot types
available. sigstar makes it easy to add lines and significance asterisks joining one or more pairs of groups on bar charts, box plots, and even line plots. The user simply supplies the identities of the two
4-D bar graph : hack on bar3 with another dimension via color (2 poss. schemes)
bar4viacolor - 4-D bar graph : bar3 with another dimension via bar color. Two color schemes are available: The jet colormap and another that, likebar3, is a column group scheme whose groups colors
ODE integration progress bar, interrupt control and estimated time to completion
This program displays a progress bar indicating where the ode integrator is in the specified time scale. The program allows the premature termination of an integration without loss of data
Displays the percentage of parfor iterations which have completed.
Error bar plot with filled area curves.
Can flip the order of the legend of a stacked bar plot.
Can flip the order of the legend of a stacked bar plot, to make it appear in the same order as the stacked pieces themselves.
Container objects to manage radio or toggle buttons with functionality of the GUI Layout Toolbox
The ButtonGroup controls require the GUI Layout Toolbox by Ben Tordoff and DavidSampson available at:http://www.mathworks.com/matlabcentral/fileexchange/27758-gui-layout-toolbox The controls in this
Bar graph plotted on polar coordinate system
radialBar creates a bar graph on polar coordinate system. It could be considered as a mix between "polar" and "bar" functions.See demo provided in the zip file.
An ASCII progress bar with timers.
This is a relatively powerful ASCII progress bar with indicators of time.It works under Windows and Linux.
Draw a progress bar in ASCII mode without clear the command window
This program allows you to draw a progress bar containing the percentage of completion, the number of iterations made, the number of total iterations and the approximate remaining time.The main file
Produces a bar plot with whiskers above each bar and bridges between user-specified bars
This file allows for the creation of bar and whisker plots with significant/insignificant relations indicated between bars by bridges plotted above the whiskers. It takes three arguments: the height
Progress monitor for matlab parfor (parallel) loops with estimation of the remaining time
(___, 'showWorkerProgress', true) will displaythe progress of all workers (default: false).ppm = ParforProgressbar(___, 'progressBarUpdatePeriod', 1.5) willupdate the progressbar every 1.5 second (default: 1.0 seconds).ppm =
plot data with error bars along both x and y axes
errorbarshEB=hggroup;set(H(2:end),'Parent',hEB);set(get(get(hEB,'Annotation'),'LegendInformation'),... 'IconDisplayStyle','on'); % include errorbars in legend as a group.legend('Main plot', 'Error bars');Developed under Matlab version 7.10.0.499 (R2010a)Created by Qi Ananqi2000@gmail.com
Animates all classes of 4-bar mechanisms, plots instant center paths, allows link length changes.
The program is a graphical tool to visualize 4-bar mechanisms and the instant centers that are produced by the mechanisms, and plots the path of the instant centers.The paths (polodes) of the instant