plotStickers | Plot data series with patch stickers to represent value range

バージョン 1.0.0.0 (5.03 KB) 作成者: fbaillon
Simple function to plot data series with patch stickers to represent value range
ダウンロード: 49
更新 2017/8/3

ライセンスの表示

plotStickers:
create a figure with patch stickers to represent data series with value range
plotStickers(series,values)
usage: handleFig = plotStickers(series,values)
usage: handleFig = plotStickers(series,values,options)

arguments: (input)
series - cell array - contains data series names.

values - numeric array - contains min and max values for each data serie.

options - (OPTIONAL) structure - contains options.

Valid properties:
'map', 'patchHeigth', 'diplayValues', 'legend', 'legendLocation', 'XLim', 'XMinorTick'

The only legal values for each of these properties are:

'map' - string --> name of one of the built-in colormaps functions
(see help on colormap for more details)
DEFAULT = 'parula'

'patchHeigth' - scalar --> heigth of the patch (between 0 and 1...)
DEFAULT = 0.2

'displayValues' - true --> display the values
false --> or not
DEFAULT = true

'legend' - true --> display the legend
false --> display YLabels instead of legend
DEFAULT = true

'legendLocation' - string --> location of the legend with respect to
the axes, specified as one of the location values
(see help on legend for more details)
DEFAULT = 'best'

'XLim' - [xmin xmax] --> set x-axis limits
DEFAULT = adjusted from min and max values of values

'XMinorTick' - 'on' --> display of minor tick marks
'off' --> or not
DEFAULT = 'on'

'YStep' - scalar --> heigth of the step between two Y
DEFAULT = 1

Arguments: (output)
handleFig - handle to the figure

If no output argument is provided for, then the figure will only be displayed.

--------------------
Example usages:

series={'Réglisse','Chocolat','Caramel','Nougat','Meringue','Guimauve'};
values=[ 2.4 5 ; 1.2 4.3 ; 2 5.25 ; 4 6; 3.2 6.4; 0.8 5.5];
options.map='summer';
options.patchHeigth=0.6;
options.legend=false;
plotStickers(series,values,options)

Copyright Fabien Baillon - 29/07/2017
Fabien.Baillon@mines-albi.fr

引用

fbaillon (2025). plotStickers | Plot data series with patch stickers to represent value range (https://www.mathworks.com/matlabcentral/fileexchange/63972-plotstickers-plot-data-series-with-patch-stickers-to-represent-value-range), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersData Distribution Plots についてさらに検索
謝辞

ヒントを与えたファイル: Sunburst or Polar Treemap Plot and Range Plot

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0