By |Published On: January 10, 2023 at 7:40 am PST|Last Updated: January 10, 2023 at 7:40 am PST|

Two Survival Curves 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.  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 as Days.
  • Graph A series is set to Line and it contains the survival values (Control) for the first curve.
  • Graph B is set to Scatter and it contains the censored locations for the first curve.
  • Graph C series is set to Line and it contains the survival values (Treated) for the second curve.
  • Graph D is set to Scatter and it contains the censored locations for the second curve.  Note that the 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 C and marker style for B and D.         

  • 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 “RoyalBlue 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.
  • Repeat the above steps for Graph C and D.
  • 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: