Two Survival Curves
This tutorial will show how to use the TechGraph Editor to plot data from a survival table using connecting lines in a staircase pattern. Two survival curves are shown in this example. Survival probability values are entered as values between 0% and 100%. Shown below are the settings in the Data Table and the Edit Chart used to create this chart.
Data Table – Sample data can easily be changed or replaced by pasting data from an external worksheet.
- Graph Type is Combo.
- X Data Type is Number. X Data column contains the X values for Days.
- Graph A series is set to Line and it contains the survival values (Treated) for the first curve.
- Graph B series is set to Line and it contains the survival values(Control) for the second curve. Note that the X and Y data for the second curve are appended to the end of the first curve.
Note: Click on the “Help” button on the toolbar to find out how to edit, delete, copy and paste in the Data Table.
Edit Chart – A set of icons (Titles, Settings, X Axis, Y Axis, Curves and Error Bars) to change the settings and appearance of the chart.
Settings – specify the line style for Graph A and Graph B.
- Click on the “Turquoise line” (Graph Style) to show the line Style for Graph A pop-up. You can change the Color, Thickness and Type for Graph A line. Click on Apply to save the changes.
- Click on the “DarkOrange line” (Graph Style) to show the line Style for Graph B pop-up. You can change the Color, Thickness and Type for Graph B line. Click on Apply to save the changes.
- Check Staircase Line and Ignoring Missing Data checkboxes.
X Axis
- Enter values in Minimum, Maximum and Major Div to set the X Axis scale and divisions. Leave these values empty for automatic scaling.
- The values for this example are Minimum = 0, Maximum = 250, Major Div = 5.
Y axis
- Enter values in Minimum, Maximum and Major Div to set the Y Axis scale and divisions. Leave these values empty for automatic scaling.
- The values for this example are Minimum = -10, Maximum = 110, Major Div = 2, Minimum Start = 0 and Maximum Start = 100.
Edit Chart Toolbar Options
- Print Chart prints your chart.
- Download Image downloads your chart as an SVG(Scalable Vector Graphics) file or image file(PNG, JPEG, TIF, PDF).
- Drawing Objects customize your chart with labels, lines, arrows, circles, images, and logos.
Getting Started:
- Data Table, Fill Data, Data Transform, Linear Curve Fitter, Nonlinear Curve Fitter
- Edit Chart, Drawing Objects, Chart Setup
- Titles, Settings, X Axis, Y Axis, Curves and Error Bars