Note: input data format must match the example on the right, tab-seperated
1, data from excel, copy and paste data into the input frame
2, data from txt, must tab-seperated, copy and paste data into the input frame
3, use point as decimal separator, not comma. e.g. 3.14, not 3,14 as pi

Required
input data (NO special characters in header, like %, (, )


Optional
figure width: ; figure height:
axis label fontsize:
ticks fontsize:
table fontsize:

X Axis and Breaks
xlim (max value of X axis):
xbreaks (X axis break value):

Plot type


Colors (at most 8 classes)
color 1:
color 2:
color 3:
color 4:
color 5:
color 6:
color 7:
color 8:

Table

table height:

Confidence interval shadow


Median line


Fontfamily


Kaplan Meier (KM) survival curves

Introduction
For binary categories, such as high/low, female/male. For multi-stage classes, e.g. stageI, stageII, stageIII. At most 8 classes. Default log-rank method. Ref: ggsurvplot
Input data instructions
Input data contain three columns: the first column is survival time, the second column is status (1 for alive, 2 for death; 0 for alive, 1 for death), the third column is categories.
Input Example
Output

1) How to plot?
1, Prepare data
2, Open with excel, and change into the same format as the example
3, Copy and paste data into the input frame
4, Select parameters
5, Submit and download figure files

2) Why NO figure generated?
Script need strigent input format, please read the instructions and examples carefully.

3) How to cite?
2000+ papers in (Google Scholar)
Tang D, Chen M, Huang X, Zhang G, Zeng L, Zhang G, Wu S, Wang Y. SRplot: A free online platform for data visualization and graphing. PLoS One. 2023 Nov 9;18(11):e0294236. doi: 10.1371/journal.pone.0294236. PMID: 37943830.

4) FAQs