<?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: Kaplan Meier - proc Lifetest in black and white in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Kaplan-Meier-proc-Lifetest-in-black-and-white/m-p/327982#M11507</link>
    <description>&lt;P&gt;Solved using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let GraphOpts = attrpriority=none  DataContrastColors=(black) DataColors=( black);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 27 Jan 2017 11:39:28 GMT</pubDate>
    <dc:creator>ammarhm</dc:creator>
    <dc:date>2017-01-27T11:39:28Z</dc:date>
    <item>
      <title>Kaplan Meier - proc Lifetest in black and white</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Kaplan-Meier-proc-Lifetest-in-black-and-white/m-p/327945#M11506</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;I wonder if anyone pease can help me with this code, I am trying to get the Kaplan Meier curves in black/white but not able to do it. Tired style=journal but it didnt work..&lt;/P&gt;
&lt;P&gt;Any suggestions please&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data _null_;
   %let url = //support.sas.com/documentation/onlinedoc/stat/ex_code/131;
   infile "http:&amp;amp;url/templft.html" device=url;
   file 'macros.tmp';
   retain pre 0;
   input;
   if index(_infile_, '&amp;lt;/pre&amp;gt;') then pre = 0;
   if pre then put _infile_;
   if index(_infile_, '&amp;lt;pre&amp;gt;')  then pre = 1;
run;

%inc 'macros.tmp' / nosource;
proc template;
     delete Stat.Lifetest.Graphics.ProductLimitSurvival  / store=sasuser.templat;
     delete Stat.Lifetest.Graphics.ProductLimitSurvival2 / store=sasuser.templat;
run;
%ProvideSurvivalMacros

%let StepOpts = lineattrs=(thickness=1.5 );
%let TitleText0 = "Kaplan Meier curve ";    
%let TitleText1 = &amp;amp;titletext0 " FOOOOR " STRATUMID;
%let TitleText2 = &amp;amp;titletext0;
%let yOptions = label="Proportion" linearopts=(viewmin=0 viewmax=1.0);
%let xOptions = label="Years" offsetmin=.0;
%let LegendOpts = title="Histopathology" location=inside autoalign=(Bottom);
%let InsetOpts  = autoalign=(TOPRIGHT BOTTOMRIGHT TOP BOTTOM) border=true BackgroundColor=GraphWalls:Color Opaque=true;

  %CompileSurvivalTemplates

  ods rtf file='c:\Users\Ta\Desktop\PSC KM.doc' style=journal;

ods listing GPATH = 'c:\g' image_dpi = 400;
ods graphics / reset width=7in height=6in imagename='KM';
ods html sge=on;
ods select lifetest.survivalplot;
proc lifetest data=p atrisk plots=survival(/*atrisk (atrisktickonly outside)*/ test /*cb*/ ) notable;
strata pad;
time ltx_fu*death(0);
run;


ods rtf close;


ods select all;
ods listing close;
ods graphics / reset;
ods rtf close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Any help is appreciated&lt;/P&gt;
&lt;P&gt;kind regards&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 07:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Kaplan-Meier-proc-Lifetest-in-black-and-white/m-p/327945#M11506</guid>
      <dc:creator>ammarhm</dc:creator>
      <dc:date>2017-01-27T07:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Kaplan Meier - proc Lifetest in black and white</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Kaplan-Meier-proc-Lifetest-in-black-and-white/m-p/327982#M11507</link>
      <description>&lt;P&gt;Solved using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let GraphOpts = attrpriority=none  DataContrastColors=(black) DataColors=( black);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jan 2017 11:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Kaplan-Meier-proc-Lifetest-in-black-and-white/m-p/327982#M11507</guid>
      <dc:creator>ammarhm</dc:creator>
      <dc:date>2017-01-27T11:39:28Z</dc:date>
    </item>
  </channel>
</rss>

