<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survival plot symbol thickness in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/653905#M20019</link>
    <description>&lt;P&gt;Hello, to make the symbol bigger you need to use the &lt;STRONG&gt;SIZE&lt;/STRONG&gt;&amp;nbsp;option within the&amp;nbsp;&lt;STRONG&gt;MARKERATTRS&lt;/STRONG&gt; option in the second &lt;STRONG&gt;SCATTER&lt;/STRONG&gt; statement. Also to make the symbol appear more thicker (and increase other items), you can use increase the dpi. Sometimes you need to use the option image_dpi instead of dpi.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods listing dpi=300;&lt;BR /&gt;proc sgplot data=SurvivalPlotData noborder;&lt;BR /&gt;yaxis label="Survival" min=0;&lt;BR /&gt;xaxis label="Days";&lt;BR /&gt;step x=time y=survival / group=Stratum name='s1' LINEATTRS=(pattern=solid thickness=2);&lt;BR /&gt;scatter x=time y=censored / markerattrs=(symbol=plus) name='s2';&lt;BR /&gt;scatter x=time y=censored / markerattrs=(symbol=plus size=20px) GROUP=Stratum ;&lt;BR /&gt;keylegend "s1" "s2"/position=TOPRIGHT location=inside ACROSS=1 NOBORDER;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kriss&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jun 2020 16:48:38 GMT</pubDate>
    <dc:creator>djrisks</dc:creator>
    <dc:date>2020-06-06T16:48:38Z</dc:date>
    <item>
      <title>Survival plot symbol thickness</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/653904#M20018</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I'm working on a KM plot using proc sgplot.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I would like to change the thickness (thickness=2, for example) of the curves.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The line thickness can be easily modified. But I encountered difficulty in changing thickness of&amp;nbsp;the symbol "PLUS". Blow is the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Your help is much appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data SurvivalPlotData;&lt;BR /&gt;input&lt;BR /&gt;obs time Time2 Survival AtRisk Event Censored Stratum StratumNum&lt;BR /&gt;;&lt;BR /&gt;cards;&lt;BR /&gt;1 0 0 1.00000 26 0 . 1 1&lt;BR /&gt;2 3 3 0.96154 26 1 . 1 1&lt;BR /&gt;3 7 7 0.92308 25 1 . 1 1&lt;BR /&gt;4 9 9 0.84615 24 2 . 1 1&lt;BR /&gt;5 10 10 0.76923 22 2 . 1 1&lt;BR /&gt;6 13 13 0.73077 20 1 . 1 1&lt;BR /&gt;7 15 15 0.69231 19 1 . 1 1&lt;BR /&gt;8 15 15 . 19 0 0.69231 1 1&lt;BR /&gt;9 17 17 . 17 0 0.69231 1 1&lt;BR /&gt;10 21 21 0.64904 16 1 . 1 1&lt;BR /&gt;11 22 22 0.60577 15 1 . 1 1&lt;BR /&gt;12 24 24 0.56250 14 1 . 1 1&lt;BR /&gt;13 28 28 0.51923 13 1 . 1 1&lt;BR /&gt;14 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;15 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;16 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;17 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;18 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;19 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;20 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;21 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;22 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;23 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;24 28 28 . 13 0 0.51923 1 1&lt;BR /&gt;25 28 28 0.51923 13 0 0.51923 1 1&lt;BR /&gt;26 0 0 1.00000 25 0 . 2 2&lt;BR /&gt;27 6 6 0.92000 25 2 . 2 2&lt;BR /&gt;28 11 11 0.88000 23 1 . 2 2&lt;BR /&gt;29 17 17 0.80000 22 2 . 2 2&lt;BR /&gt;30 19 19 0.72000 20 2 . 2 2&lt;BR /&gt;31 21 21 0.68000 18 1 . 2 2&lt;BR /&gt;32 24 24 0.56000 17 3 . 2 2&lt;BR /&gt;33 26 26 0.52000 14 1 . 2 2&lt;BR /&gt;34 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;35 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;36 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;37 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;38 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;39 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;40 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;41 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;42 28 28 . 13 0 0.52000 2 2&lt;BR /&gt;43 28 28 . 13 0 0.52 2 2&lt;BR /&gt;44 28 28 . 13 0 0.52 2 2&lt;BR /&gt;45 28 28 . 13 0 0.52 2 2&lt;BR /&gt;46 28 28 0.52 13 0 0.52 2 2&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc sgplot data=SurvivalPlotData noborder;&lt;BR /&gt;yaxis label="Survival" min=0;&lt;BR /&gt;xaxis label="Days";&lt;BR /&gt;step x=time y=survival / group=Stratum name='s1' LINEATTRS=(pattern=solid thickness=2);&lt;BR /&gt;scatter x=time y=censored / markerattrs=(symbol=plus) name='s2';&lt;BR /&gt;scatter x=time y=censored / markerattrs=(symbol=plus) GROUP=Stratum;&lt;BR /&gt;keylegend "s1" "s2"/position=TOPRIGHT location=inside ACROSS=1 NOBORDER;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 16:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/653904#M20018</guid>
      <dc:creator>YUYP</dc:creator>
      <dc:date>2020-06-06T16:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Survival plot symbol thickness</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/653905#M20019</link>
      <description>&lt;P&gt;Hello, to make the symbol bigger you need to use the &lt;STRONG&gt;SIZE&lt;/STRONG&gt;&amp;nbsp;option within the&amp;nbsp;&lt;STRONG&gt;MARKERATTRS&lt;/STRONG&gt; option in the second &lt;STRONG&gt;SCATTER&lt;/STRONG&gt; statement. Also to make the symbol appear more thicker (and increase other items), you can use increase the dpi. Sometimes you need to use the option image_dpi instead of dpi.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods listing dpi=300;&lt;BR /&gt;proc sgplot data=SurvivalPlotData noborder;&lt;BR /&gt;yaxis label="Survival" min=0;&lt;BR /&gt;xaxis label="Days";&lt;BR /&gt;step x=time y=survival / group=Stratum name='s1' LINEATTRS=(pattern=solid thickness=2);&lt;BR /&gt;scatter x=time y=censored / markerattrs=(symbol=plus) name='s2';&lt;BR /&gt;scatter x=time y=censored / markerattrs=(symbol=plus size=20px) GROUP=Stratum ;&lt;BR /&gt;keylegend "s1" "s2"/position=TOPRIGHT location=inside ACROSS=1 NOBORDER;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kriss&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 16:48:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/653905#M20019</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2020-06-06T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Survival plot symbol thickness</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/656860#M20025</link>
      <description>&lt;P&gt;It doesn't look like the option has appeared in SGPLOT yet, but within GTL there is another MARKERATTRS option called weight that will make the symbols thicker if you set to bold.&amp;nbsp; You could probably use TMPLOUT in your SGPLOT code into a template and then modify the MARKERATTRS in the provided code.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatgraph&amp;amp;docsetTarget=p0yjbi9rz0z03tn1arz9ia9tgvic.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1u28q2ug4beltn1aq128py27bj9"&gt;https://documentation.sas.com/?docsetId=grstatgraph&amp;amp;docsetTarget=p0yjbi9rz0z03tn1arz9ia9tgvic.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p1u28q2ug4beltn1aq128py27bj9&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also going to plug my macro to make survival curves:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/ta-p/479747" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/ta-p/479747&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 02:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Survival-plot-symbol-thickness/m-p/656860#M20025</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2020-06-11T02:47:49Z</dc:date>
    </item>
  </channel>
</rss>

