Survival Curve with Censored Points as Circles
This tutorial will show how to use the TechGraph Editor to plot data from a survival table using connecting lines in a staircase pattern. In this example, survival probability values (data in Graph A) are entered as fractions between 0 and 1. Enter censored points in Graph B to be displayed as circles. 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.
- Graph A series is set to Line and it contains the survival probability values.
- Graph B series is set to Scatter and it contains the censored points.
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 color, thickness and type for Graph A line.
- Click on the “Crimson 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 “Black circle” (Graph Style) to show the scatter Style for Graph B pop-up. You can change the Color, Type and Size for Graph B scatter. Click on Apply to save the charges.
- 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 = 20, Major Div = 4.
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 = 0, Maximum = 1, Major Div = 5.
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