Skip to content

Commit cb8b037

Browse files
committed
uploading to GitHub
1 parent b29406f commit cb8b037

File tree

9 files changed

+1638
-2
lines changed

9 files changed

+1638
-2
lines changed

CITATION.cff

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cff-version: 1.2.0
2+
message: "If you use this software, please cite it as below."
3+
authors:
4+
- family-names: Wong
5+
given-names: Man Ho
6+
orcid: https://orcid.org/0000-0002-3738-1914
7+
title: "grpandplot: An open-source MATLAB tool for drawing box plot and violin plot with automatic multi-way data grouping"
8+
version: 1.0.0
9+
doi:
10+
date-released: 2022-11-05

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,43 @@
1-
# grpandplot
2-
An open-source MATLAB tool for drawing box plot and violin plot with automatic multi-way data grouping.
1+
# grpandplot: An open-source MATLAB tool for drawing box plot and violin plot with automatic multi-way data grouping.
2+
3+
Man Ho Wong, 2022.
4+
5+
## Introduction
6+
7+
`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.
8+
9+
### Features:
10+
11+
- Multi-way data grouping up to three factors
12+
- 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
13+
- Available data objects: scatter, box plot, violin plot, n number
14+
- Data points jittered according to their PDF
15+
- Different combinations of data objects allowed
16+
- Size and position of data objects automatically adjusted
17+
- Options available for adjust color, size and position
18+
- Compatible with MATLAB's Graphics objects such as `Figure`, `TiledChartLayout` and `Axes`
19+
- Figures configurable via MATLAB's graphics methods and properties
20+
21+
![examples](resources/grpandplot_examples.png)
22+
23+
## Installation
24+
25+
Requirement: MATLAB R2020b or above (Versions supporting `swarmchart`)
26+
27+
You can download the directory `grpandplot` directly to you computer or install via MATLAB's Add-On Explorer.
28+
29+
## Usage
30+
31+
See documentation ([grpandplot_doc.mlx](resources/grpandplot_doc.mlx) or [grpandplot_doc.html](resources/grpandplot_doc.html)).
32+
33+
## License
34+
35+
This tool contains a modified version of `violin.m` created by Jasper Fabius (2019). The copyright notice can be found [here](violin/violin_license.txt). Modification is documented in the function file `violin.m`.
36+
37+
This project is licensed under [GNU General Public License v3.0](LICENSE).
38+
39+
## Cite As
40+
41+
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].
42+
43+

0 commit comments

Comments
 (0)