<?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: GPlot: Move title closer to graph? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58243#M1968</link>
    <description>you could add the move=(x,y) option to the title statement ...</description>
    <pubDate>Wed, 27 Apr 2011 16:36:02 GMT</pubDate>
    <dc:creator>Bill</dc:creator>
    <dc:date>2011-04-27T16:36:02Z</dc:date>
    <item>
      <title>GPlot: Move title closer to graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58242#M1967</link>
      <description>I'm usinig GPlot to create two plots with a title above. Is there a way to shrink the distance between the title and the graph? Code below for anyone who wants it all. Thanks!&lt;BR /&gt;
&lt;BR /&gt;
Jeff&lt;BR /&gt;
&lt;BR /&gt;
                                                                                                                                   &lt;BR /&gt;
   %macro anatomical(region=,label=,horig=,vorig=);&lt;BR /&gt;
      %put in anatomical,  inputfile = INPT;&lt;BR /&gt;
      goptions hsize=2.175in &lt;BR /&gt;
               vsize=1.775in &lt;BR /&gt;
               horigin=&amp;amp;horig.in&lt;BR /&gt;
               vorigin=&amp;amp;vorig.in;&lt;BR /&gt;
&lt;BR /&gt;
      axis3 value=(color=black font="Helvetica" height=7pt) &lt;BR /&gt;
               label = none&lt;BR /&gt;
               order=(.1 1 10 100 1000)&lt;BR /&gt;
               logbase=10&lt;BR /&gt;
               logstyle=expand&lt;BR /&gt;
               major=none&lt;BR /&gt;
               minor=none&lt;BR /&gt;
               offset = (1);&lt;BR /&gt;
&lt;BR /&gt;
      legend1 label=none &lt;BR /&gt;
              across=1                                                                                                                        &lt;BR /&gt;
              position=(top inside left)&lt;BR /&gt;
              order=('Women' 'Men')&lt;BR /&gt;
              value=(tick=1 height=8pt font="Helvetica"  color=black 'Women' &lt;BR /&gt;
                     tick=2 height=8pt font="Helvetica"  color=black 'Men' ) &lt;BR /&gt;
              shape=symbol(10,5)&lt;BR /&gt;
              mode=share;&lt;BR /&gt;
   &lt;BR /&gt;
      PROC gplot  DATA=R110097.INPT_fig2_graphs gout=mycat;&lt;BR /&gt;
         format sex $sex. agegrp $agegrp1_.;&lt;BR /&gt;
         plot &amp;amp;region*agegrp=sex /autovref&lt;BR /&gt;
                                  autohref &lt;BR /&gt;
                                  chref=black &lt;BR /&gt;
                                  cvref=black &lt;BR /&gt;
                                  lvref=20 &lt;BR /&gt;
                                  lhref=20  &lt;BR /&gt;
                                  vaxis=axis3 &lt;BR /&gt;
                                  haxis=axis4 &lt;BR /&gt;
                                  noframe&lt;BR /&gt;
                                  %if  &amp;amp;region = infectious_r %then&lt;BR /&gt;
                                     legend=legend1;&lt;BR /&gt;
                                  %else&lt;BR /&gt;
                                     nolegend;&lt;BR /&gt;
                                  ;&lt;BR /&gt;
         title1 justify=l f="Helvetica" height=9pt "&amp;amp;label";&lt;BR /&gt;
      run;    &lt;BR /&gt;
      quit; &lt;BR /&gt;
   %mend anatomical;&lt;BR /&gt;
&lt;BR /&gt;
   %anatomical(region=infectious_r ,label=Infectious,horig=.03,  vorig=8.5);</description>
      <pubDate>Wed, 27 Apr 2011 16:24:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58242#M1967</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-04-27T16:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: GPlot: Move title closer to graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58243#M1968</link>
      <description>you could add the move=(x,y) option to the title statement ...</description>
      <pubDate>Wed, 27 Apr 2011 16:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58243#M1968</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2011-04-27T16:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPlot: Move title closer to graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58244#M1969</link>
      <description>Move= works! Now I just have to get a decision on how far to move it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Jeff</description>
      <pubDate>Wed, 27 Apr 2011 18:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58244#M1969</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-04-27T18:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: GPlot: Move title closer to graph?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58245#M1970</link>
      <description>You can move the title by suppressing title1 (and title2), e.g.:&lt;BR /&gt;
title1;&lt;BR /&gt;
title2 justify=l f="Helvetica" height=9pt "&amp;amp;label";&lt;BR /&gt;
&lt;BR /&gt;
You can try to control the distance by specifying larger height for title1 and empty title " " if size alone won't work.&lt;BR /&gt;
title1 h=12 " ";&lt;BR /&gt;
title2 justify=l f="Helvetica" height=9pt "&amp;amp;label";&lt;BR /&gt;
I often use alternate titles.</description>
      <pubDate>Mon, 09 May 2011 21:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/GPlot-Move-title-closer-to-graph/m-p/58245#M1970</guid>
      <dc:creator>Dorota_Jarosz</dc:creator>
      <dc:date>2011-05-09T21:30:35Z</dc:date>
    </item>
  </channel>
</rss>

