grpandplot

版本 1.0.0 (2.1 MB) 作者: Man Ho Wong
An open-source MATLAB tool for drawing box plot and violin plot with automatic multi-way data grouping.
307.0 次下载
更新时间 2022/11/6

View grpandplot on File Exchange

grpandplot: An open-source MATLAB tool for drawing box plot and violin plot with automatic multi-way data grouping.

Man Ho Wong, 2022.

Introduction

grpandplot features data grouping by multiple factors, supporting up to three-way grouping. Different combination of data objects (i.e. scatter (data points, box plot, violin plot, n number) can be plotted on top of each other with size and position automatically adjusted. This function is compatible with MATLAB's plotting syntax and can be combined with other MATLAB Graphics objects, such as Figure, TiledChartLayout and Axes. Moreover, figures are fully configurable with MATLAB's graphics methods and properties.

Features:

  • Multi-way data grouping up to three factors
  • Data can be grouped and displayed as groups along x-axis, of different colors and/or in separate tiles (i.e. axes) in the same figure
  • Available data objects: scatter, box plot, violin plot, n number
  • Data points jittered according to their PDF
  • Different combinations of data objects allowed
  • Size and position of data objects automatically adjusted
  • Options available for adjust color, size and position
  • Compatible with MATLAB's Graphics objects such as Figure, TiledChartLayout and Axes
  • Figures configurable via MATLAB's graphics methods and properties

examples

Installation

Requirement: MATLAB R2020b or above (Versions supporting swarmchart)

You can download the directory grpandplot directly to you computer or install via MATLAB's Add-On Explorer.

Usage

See documentation (grpandplot_doc.mlx or grpandplot_doc.pdf).

License

This tool contains a modified version of violin.m created by Jasper Fabius (2019). The copyright notice can be found here. Modification is documented in the function file violin.m.

This project is licensed under GNU General Public License v3.0.

Cite As

Wong, M. H. (2022). grpandplot: An open-source MATLAB tool for drawing box plot and violin plot with automatic multi-way data grouping. (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.7295877

引用格式

Man Ho Wong (2024). grpandplot (https://github.com/manhowong/grpandplot/releases/tag/v1.0.0), GitHub. 检索时间: .

Wong, Man Ho. Grpandplot: An Open-Source MATLAB Tool for Drawing Box Plot and Violin Plot with Automatic Multi-Way Data Grouping. Zenodo, 2022, doi:10.5281/ZENODO.7295877.

查看更多格式
MATLAB 版本兼容性
创建方式 R2021b
与 R2021a 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

resources

violin

resources

版本 已发布 发行说明
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库