<?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 proc template help in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496537#M16964</link>
    <description>&lt;P&gt;Dear&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using below proc template code to output a forest plot. I have a question in graph part of the plot which is output by code under fifth column below. All the tick value list mentioned is not&amp;nbsp; %let statement is not seen x axis part of graph. I see only three values(-40 0 40). How to modify my code output all values (&lt;SPAN&gt;-40 -20 0 20 40&lt;/SPAN&gt;). The graph part is attached. Please help. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%let tickvaluelist=%str(-40.0 -20.0 0.0 20.0 40.0);
 %let colwgt=(0.35 0.13 0.15 0.20 0.22);

proc template;
  define statgraph Forest_HighLow;
  dynamic  _color _headercolor;
    begingraph;
      layout lattice / columns=5 columnweights=&amp;amp;colwgt;

            /*--Column headers--*/
            sidebar / align=top;
                  layout lattice / rows=1 columns=5 columnweights=&amp;amp;colwgt
                         backgroundcolor=_headercolor opaque=true;
                  entry " ";
                  entry textattrs=(size=8.6 weight=bold) "N/# pCR";
                  entry textattrs=(size=8.6 weight=bold) "&amp;amp;_clm_label";
                  entry textattrs=(size=8.6 weight=bold) "95% CI";
                  entry " ";
                  endlayout;
            endsidebar;

            /*--First column: subgroup label */
            layout overlay / walldisplay=none
                             xaxisopts=(display=none linearopts=(viewmin=0 viewmax=4))
                             yaxisopts=(reverse=true display=none tickvalueattrs=(weight=bold)) ;
                   highlowplot   y=rownum low=zero high=zero / highlabel=heading
                                 lineattrs=(thickness=0) labelattrs=(weight=bold size=8.6);
                   highlowplot   y=rownum low=zero high=one / highlabel=subgroup
                                 lineattrs=(thickness=0) labelattrs=(size=8.6);
            endlayout;

            /*--Second column: sample size --*/
            layout overlay / xaxisopts=(display=none) 
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=n
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Third column: point estimate --*/
            layout overlay / xaxisopts=(display=none)
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=hr
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Fourth column: CI --*/
            layout overlay / xaxisopts=(display=none)
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=ci
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Fifth column: plot of point estimate and CI --*/
            l&lt;FONT color="#FF0000"&gt;ayout overlay / xaxisopts=(label="_lgd_label" 
                   labelattrs=(size=8.6 weight=bold)
                   linearopts=(tickvaluepriority=true
                   tickvaluelist=(&amp;amp;tickvaluelist)))
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   highlowplot   y=rownum low=low high=high ;
                   scatterplot   y=rownum x=hrr /
                                 markerattrs=(symbol=squarefilled size=8.6);
                                 referenceline x=0 ;

            endlayout;&lt;/FONT&gt;
      endlayout;
    endgraph;
  end;
run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Sep 2018 12:37:16 GMT</pubDate>
    <dc:creator>knveraraju91</dc:creator>
    <dc:date>2018-09-18T12:37:16Z</dc:date>
    <item>
      <title>proc template help</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496537#M16964</link>
      <description>&lt;P&gt;Dear&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using below proc template code to output a forest plot. I have a question in graph part of the plot which is output by code under fifth column below. All the tick value list mentioned is not&amp;nbsp; %let statement is not seen x axis part of graph. I see only three values(-40 0 40). How to modify my code output all values (&lt;SPAN&gt;-40 -20 0 20 40&lt;/SPAN&gt;). The graph part is attached. Please help. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%let tickvaluelist=%str(-40.0 -20.0 0.0 20.0 40.0);
 %let colwgt=(0.35 0.13 0.15 0.20 0.22);

proc template;
  define statgraph Forest_HighLow;
  dynamic  _color _headercolor;
    begingraph;
      layout lattice / columns=5 columnweights=&amp;amp;colwgt;

            /*--Column headers--*/
            sidebar / align=top;
                  layout lattice / rows=1 columns=5 columnweights=&amp;amp;colwgt
                         backgroundcolor=_headercolor opaque=true;
                  entry " ";
                  entry textattrs=(size=8.6 weight=bold) "N/# pCR";
                  entry textattrs=(size=8.6 weight=bold) "&amp;amp;_clm_label";
                  entry textattrs=(size=8.6 weight=bold) "95% CI";
                  entry " ";
                  endlayout;
            endsidebar;

            /*--First column: subgroup label */
            layout overlay / walldisplay=none
                             xaxisopts=(display=none linearopts=(viewmin=0 viewmax=4))
                             yaxisopts=(reverse=true display=none tickvalueattrs=(weight=bold)) ;
                   highlowplot   y=rownum low=zero high=zero / highlabel=heading
                                 lineattrs=(thickness=0) labelattrs=(weight=bold size=8.6);
                   highlowplot   y=rownum low=zero high=one / highlabel=subgroup
                                 lineattrs=(thickness=0) labelattrs=(size=8.6);
            endlayout;

            /*--Second column: sample size --*/
            layout overlay / xaxisopts=(display=none) 
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=n
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Third column: point estimate --*/
            layout overlay / xaxisopts=(display=none)
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=hr
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Fourth column: CI --*/
            layout overlay / xaxisopts=(display=none)
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=ci
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Fifth column: plot of point estimate and CI --*/
            l&lt;FONT color="#FF0000"&gt;ayout overlay / xaxisopts=(label="_lgd_label" 
                   labelattrs=(size=8.6 weight=bold)
                   linearopts=(tickvaluepriority=true
                   tickvaluelist=(&amp;amp;tickvaluelist)))
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   highlowplot   y=rownum low=low high=high ;
                   scatterplot   y=rownum x=hrr /
                                 markerattrs=(symbol=squarefilled size=8.6);
                                 referenceline x=0 ;

            endlayout;&lt;/FONT&gt;
      endlayout;
    endgraph;
  end;
run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496537#M16964</guid>
      <dc:creator>knveraraju91</dc:creator>
      <dc:date>2018-09-18T12:37:16Z</dc:date>
    </item>
    <item>
      <title>proc template help</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496534#M16968</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
%let tickvaluelist=%str(-40.0 -20.0 0.0 20.0 40.0);
 %let colwgt=(0.35 0.13 0.15 0.20 0.22);

proc template;
  define statgraph Forest_HighLow;
  dynamic  _color _headercolor;
    begingraph;
      layout lattice / columns=5 columnweights=&amp;amp;colwgt;

            /*--Column headers--*/
            sidebar / align=top;
                  layout lattice / rows=1 columns=5 columnweights=&amp;amp;colwgt
                         backgroundcolor=_headercolor opaque=true;
                  entry " ";
                  entry textattrs=(size=8.6 weight=bold) "N/# pCR";
                  entry textattrs=(size=8.6 weight=bold) "&amp;amp;_clm_label";
                  entry textattrs=(size=8.6 weight=bold) "95% CI";
                  entry " ";
                  endlayout;
            endsidebar;

            /*--First column: subgroup label */
            layout overlay / walldisplay=none
                             xaxisopts=(display=none linearopts=(viewmin=0 viewmax=4))
                             yaxisopts=(reverse=true display=none tickvalueattrs=(weight=bold)) ;
                   highlowplot   y=rownum low=zero high=zero / highlabel=heading
                                 lineattrs=(thickness=0) labelattrs=(weight=bold size=8.6);
                   highlowplot   y=rownum low=zero high=one / highlabel=subgroup
                                 lineattrs=(thickness=0) labelattrs=(size=8.6);
            endlayout;

            /*--Second column: sample size --*/
            layout overlay / xaxisopts=(display=none) 
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=n
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Third column: point estimate --*/
            layout overlay / xaxisopts=(display=none)
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=hr
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Fourth column: CI --*/
            layout overlay / xaxisopts=(display=none)
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   scatterplot y=rownum x=zero / markercharacter=ci
                   markercharacterattrs=graphvaluetext(size=8.6);
            endlayout;

            /*--Fifth column: plot of point estimate and CI --*/
            l&lt;FONT color="#FF0000"&gt;ayout overlay / xaxisopts=(label="_lgd_label" 
                   labelattrs=(size=8.6 weight=bold)
                   linearopts=(tickvaluepriority=true
                   tickvaluelist=(&amp;amp;tickvaluelist)))
                   yaxisopts=(reverse=true display=none) walldisplay=none;
                   highlowplot   y=rownum low=low high=high ;
                   scatterplot   y=rownum x=hrr /
                                 markerattrs=(symbol=squarefilled size=8.6);
                                 referenceline x=0 ;

            endlayout;&lt;/FONT&gt;
      endlayout;
    endgraph;
  end;
run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496534#M16968</guid>
      <dc:creator>knveraraju91</dc:creator>
      <dc:date>2018-09-18T12:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc template help</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496535#M16969</link>
      <description>What's the question?</description>
      <pubDate>Tue, 18 Sep 2018 12:33:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496535#M16969</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2018-09-18T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc template help</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496538#M16970</link>
      <description>&lt;P&gt;Sorry I clicked the Post button before I wrote my question . I just posted my question. My question regarding tick values in graph part of forest plot. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496538#M16970</guid>
      <dc:creator>knveraraju91</dc:creator>
      <dc:date>2018-09-18T12:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc template help</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496547#M16967</link>
      <description>I would suggest setting viewmin=-40 and viewmax=40, offsetmin=0, offsetmax=0, and tickvaluefitpolicy=none.</description>
      <pubDate>Tue, 18 Sep 2018 13:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496547#M16967</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2018-09-18T13:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc template help</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496593#M16971</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68272"&gt;@knveraraju91&lt;/a&gt;&amp;nbsp;you can edit your posts by clicking the little gear button at the top of the post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've merged them into one post here.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-template-help/m-p/496593#M16971</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-18T15:13:26Z</dc:date>
    </item>
  </channel>
</rss>

