<?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 Break in first row of forst plot in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/764658#M21915</link>
    <description>&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in the process of creating forest plot with PROC SGPLOT using the below code. However, the first line is only half visible. Could you please help me fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rube&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data forest;&lt;BR /&gt;length subgroup $ 25;&lt;BR /&gt;length orci $ 15;&lt;BR /&gt;input subgroup $ OR LCI RCI p_value orci $ indentwt level obsid text $ xl $ yl $ ref2 $ id F15 $ F16 $ F17 $ F18 $;&lt;BR /&gt;datalines;&lt;BR /&gt;Non-Hodgkin_lymphoma '' '' '' '' . 0 2 1 . . . . 1 . . . .&lt;BR /&gt;In-hospital_death 4.04 2.11 7.76 0.001 4.06(2.11-7.76) 1 1 2 . . . . 2 . . . .&lt;BR /&gt;Prolonged_los 2.32 1.56 3.46 0.001 2.32(1.56-3.46) 1 1 3 . . . . 2 . . . .&lt;BR /&gt;Hodgkin_lymphoma '' '' '' '' . 0 2 4 . . . . 1 . . . .&lt;BR /&gt;In-hospital_death 1.82 1.43 2.76 0.001 1.82(1.43-2.76) 1 1 5 . . . . 2 . . . .&lt;BR /&gt;Prolonged_los 1.55 1.34 2.84 0.001 1.55(1.34-2.84) 1 1 6 . . . . 2 . . . .&lt;BR /&gt;Multiple_myeloma '' '' '' '' . 0 2 7 . . . . 1 . . . .&lt;BR /&gt;In-hospital_death 4.28 2.16 8.48 0.001 4.28(2.16-8.48) 1 1 8 . . . . 2 . . . .&lt;BR /&gt;Prolonged_los 3 2 4.51 0.001 3.00(2.00-4.51) 1 1 9 . . . . 2 . . . .&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data forest_1;&lt;BR /&gt;set forest;&lt;BR /&gt;label orci='aOR (95% CI)';&lt;BR /&gt;label subgroup='Variables';&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $txt&lt;BR /&gt;"T" = "More Adverse Events (*ESC*){Unicode '2192'x}"&lt;BR /&gt;"P" = "(*ESC*){Unicode '2190'x} Fewer Adverse Events";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*--Attribute maps for Subgroup Test attributes--*/&lt;BR /&gt;data attrmap;&lt;BR /&gt;length textweight $10;&lt;BR /&gt;id='text'; value='1'; textcolor='Black'; textsize=7; textweight='bold'; output;&lt;BR /&gt;id='text'; value='2'; textcolor='Black'; textsize=5; textweight='normal'; output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let gpath='C:\Users\15129\Desktop\New folder';&lt;BR /&gt;%let dpi=200;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods _all_ close;&lt;BR /&gt;ods listing gpath=&amp;amp;gpath image_dpi=&amp;amp;dpi;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*--Forest Plot--*/&lt;BR /&gt;options missing=' ';&lt;BR /&gt;ods listing style=HTMLBLUE;&lt;BR /&gt;/*title j=c h=12pt "Top 10 primary diagnosis associated with cancer hospitalizations";*/&lt;BR /&gt;/*title2 j=c h=10pt 'Odds Ratio and 95% CI';*/&lt;BR /&gt;ods graphics on / reset width=5in height=3in imagefmt=tiff imagename='Forest_plot';&lt;BR /&gt;proc sgplot data=forest_1 nowall nocycleattrs dattrmap=attrmap noautolegend;&lt;BR /&gt;format text $txt.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;styleattrs axisextent=data;&lt;BR /&gt;refline ref2 / lineattrs=(thickness=25 color=cxf0f0f7);&lt;BR /&gt;highlow y=obsid low=lci high=rci / type=line lineattrs=(color=red);&lt;BR /&gt;scatter y=obsid x=or / markerattrs=(color=green size=10 symbol=squarefilled);&lt;BR /&gt;scatter y=obsid x=or / markerattrs=(size=0) x2axis;&lt;BR /&gt;refline 1 10 / axis=x;&lt;BR /&gt;/* text x=xl y=obsid text=text / position=bottom contributeoffsets=none strip;*/&lt;BR /&gt;yaxistable subgroup / location=inside position=left textgroup=id labelattrs=(size=7) textgroupid=text indentweight=indentWt;&lt;BR /&gt;yaxistable orci / location=inside position=left labelattrs=(size=7) valueattrs=(size=7);&lt;BR /&gt;yaxis reverse display=none colorbands=odd colorbandsattrs=(transparency=1) offsetmin=0.0;&lt;BR /&gt;/* xaxis display=(nolabel) values=(0.0 0.5 1.0 5.0 10.0 15.0) ;*/&lt;BR /&gt;xaxis offsetmin=0 offsetmax=0.03 min=0 max=10 minor display=(nolabel);&lt;BR /&gt;x2axis label=' ' display=(noline noticks novalues) labelattrs=(size=12);&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Sun, 29 Aug 2021 05:09:42 GMT</pubDate>
    <dc:creator>sandrube</dc:creator>
    <dc:date>2021-08-29T05:09:42Z</dc:date>
    <item>
      <title>Break in first row of forst plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/764658#M21915</link>
      <description>&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am in the process of creating forest plot with PROC SGPLOT using the below code. However, the first line is only half visible. Could you please help me fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rube&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data forest;&lt;BR /&gt;length subgroup $ 25;&lt;BR /&gt;length orci $ 15;&lt;BR /&gt;input subgroup $ OR LCI RCI p_value orci $ indentwt level obsid text $ xl $ yl $ ref2 $ id F15 $ F16 $ F17 $ F18 $;&lt;BR /&gt;datalines;&lt;BR /&gt;Non-Hodgkin_lymphoma '' '' '' '' . 0 2 1 . . . . 1 . . . .&lt;BR /&gt;In-hospital_death 4.04 2.11 7.76 0.001 4.06(2.11-7.76) 1 1 2 . . . . 2 . . . .&lt;BR /&gt;Prolonged_los 2.32 1.56 3.46 0.001 2.32(1.56-3.46) 1 1 3 . . . . 2 . . . .&lt;BR /&gt;Hodgkin_lymphoma '' '' '' '' . 0 2 4 . . . . 1 . . . .&lt;BR /&gt;In-hospital_death 1.82 1.43 2.76 0.001 1.82(1.43-2.76) 1 1 5 . . . . 2 . . . .&lt;BR /&gt;Prolonged_los 1.55 1.34 2.84 0.001 1.55(1.34-2.84) 1 1 6 . . . . 2 . . . .&lt;BR /&gt;Multiple_myeloma '' '' '' '' . 0 2 7 . . . . 1 . . . .&lt;BR /&gt;In-hospital_death 4.28 2.16 8.48 0.001 4.28(2.16-8.48) 1 1 8 . . . . 2 . . . .&lt;BR /&gt;Prolonged_los 3 2 4.51 0.001 3.00(2.00-4.51) 1 1 9 . . . . 2 . . . .&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data forest_1;&lt;BR /&gt;set forest;&lt;BR /&gt;label orci='aOR (95% CI)';&lt;BR /&gt;label subgroup='Variables';&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value $txt&lt;BR /&gt;"T" = "More Adverse Events (*ESC*){Unicode '2192'x}"&lt;BR /&gt;"P" = "(*ESC*){Unicode '2190'x} Fewer Adverse Events";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*--Attribute maps for Subgroup Test attributes--*/&lt;BR /&gt;data attrmap;&lt;BR /&gt;length textweight $10;&lt;BR /&gt;id='text'; value='1'; textcolor='Black'; textsize=7; textweight='bold'; output;&lt;BR /&gt;id='text'; value='2'; textcolor='Black'; textsize=5; textweight='normal'; output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let gpath='C:\Users\15129\Desktop\New folder';&lt;BR /&gt;%let dpi=200;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods _all_ close;&lt;BR /&gt;ods listing gpath=&amp;amp;gpath image_dpi=&amp;amp;dpi;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*--Forest Plot--*/&lt;BR /&gt;options missing=' ';&lt;BR /&gt;ods listing style=HTMLBLUE;&lt;BR /&gt;/*title j=c h=12pt "Top 10 primary diagnosis associated with cancer hospitalizations";*/&lt;BR /&gt;/*title2 j=c h=10pt 'Odds Ratio and 95% CI';*/&lt;BR /&gt;ods graphics on / reset width=5in height=3in imagefmt=tiff imagename='Forest_plot';&lt;BR /&gt;proc sgplot data=forest_1 nowall nocycleattrs dattrmap=attrmap noautolegend;&lt;BR /&gt;format text $txt.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;styleattrs axisextent=data;&lt;BR /&gt;refline ref2 / lineattrs=(thickness=25 color=cxf0f0f7);&lt;BR /&gt;highlow y=obsid low=lci high=rci / type=line lineattrs=(color=red);&lt;BR /&gt;scatter y=obsid x=or / markerattrs=(color=green size=10 symbol=squarefilled);&lt;BR /&gt;scatter y=obsid x=or / markerattrs=(size=0) x2axis;&lt;BR /&gt;refline 1 10 / axis=x;&lt;BR /&gt;/* text x=xl y=obsid text=text / position=bottom contributeoffsets=none strip;*/&lt;BR /&gt;yaxistable subgroup / location=inside position=left textgroup=id labelattrs=(size=7) textgroupid=text indentweight=indentWt;&lt;BR /&gt;yaxistable orci / location=inside position=left labelattrs=(size=7) valueattrs=(size=7);&lt;BR /&gt;yaxis reverse display=none colorbands=odd colorbandsattrs=(transparency=1) offsetmin=0.0;&lt;BR /&gt;/* xaxis display=(nolabel) values=(0.0 0.5 1.0 5.0 10.0 15.0) ;*/&lt;BR /&gt;xaxis offsetmin=0 offsetmax=0.03 min=0 max=10 minor display=(nolabel);&lt;BR /&gt;x2axis label=' ' display=(noline noticks novalues) labelattrs=(size=12);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Aug 2021 05:09:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/764658#M21915</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2021-08-29T05:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Break in first row of forst plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/765035#M21920</link>
      <description>&lt;P&gt;You have set the OFFSETMIN= option to 0. Either delete the option or set it to a larger value such as&lt;/P&gt;
&lt;P&gt;yaxis reverse ... offsetmin=0.1;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:24:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/765035#M21920</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-08-31T12:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Break in first row of forst plot</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/765045#M21921</link>
      <description>&lt;P&gt;Thank you very much! Solved the problem!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rube&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Break-in-first-row-of-forst-plot/m-p/765045#M21921</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2021-08-31T12:57:44Z</dc:date>
    </item>
  </channel>
</rss>

