Broken axis histogram





choosefile  example


choosefile  example


add color
















Function introduction

Bar chart is one of the most commonly used graphs for displaying data.When there are large differences between the data to be shown, some of the "pillars" are extremely high, while others are almost invisible.The Broken axis histogram is used to solve the problem that part of the data is covered up due to the large difference between the data. By displaying the vertical axis in segments, the high and low data can be reasonably displayed.


Input files

Note: input form file, must be TXT format.You can choose to open the data in excel and save it as a text file (TAB delimited) (*.txt).The first column of the table enters the name of each group on the horizontal axis, and the second column outputs the data of each group in turn.

Data table example:

x y1-1 y1-2 y1-3 y2-1 y2-2 y2-3 y3-1 y3-2 y3-3
X1








X2








X3








group table example:

y1-1 y1
y1-2 y1
y1-3 y1
y2-1 y2
y2-2 y2
y2-3 y2
y3-1 y3
y3-2 y3
y3-3 y3

Parameter

Color: click the right side to select the color and add the color in the order of grouping

Scale of the first section of the coordinate axis: enter the scale of the lower section of the coordinate axis (the value between 0 and 1, the default is 0.65, i.e. 65% scale of the first section)

Breakpoint value: enter the value of the lower position of the breakpoint

Upper breakpoint value: enter the value of the upper position of the breakpoint

Title: enter title information

X-axis title: enter the X-axis name

Y-axis title: enter the Y-axis name


Results

According to the input table data, output corresponding vertical axis interrupt bar graph.

data example group example

Input:

The file input must be txt format and the data should be separated by separator.

data table:


X

0h-1

0h-2

0h-3

6h-1

6h-2

6h-3

12h-1

12h-2

12h-3

CK

0.35

0.45

0.35

3.72

3.85

3.72

0.82

0.45

0.82

AT

0.35

0.36

0.35

4.33

3.43

4.33

0.62

0.43

0.62

CT

0.72

0.38

0.72

3.86

3.45

3.86

0.72

0.6

0.72







group table:

y1-1 y1
y1-2 y1
y1-3 y1
y2-1 y2
y2-2 y2
y2-3 y2
y3-1 y3
y3-2 y3
y3-3 y3

Parameter input:



Output:


Note: the abscissa is the group name of the first column of the corresponding table, and each column in the figure corresponds to the mean and standard deviation values of data of the same category in each group.