<?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: Report with a variable number of graphics in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218028#M8143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry by my delay.&lt;/P&gt;&lt;P&gt;I´ve been out for personal ítems.&lt;/P&gt;&lt;P&gt;I´ve not the program, they have been brief tests, and I 'm a little stuck in the momento.&lt;/P&gt;&lt;P&gt;If you can help me to choose the best way of doing it .&lt;BR /&gt;The idea is to use variables and use the smallest possible code with Base SAS 9.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example there are 4 graphics in the report but it can be from 1 until 6 graphs.&lt;/P&gt;&lt;P&gt;Each of them or one or two axis.&lt;/P&gt;&lt;P&gt;The series of each them must have a color line and symbol diferent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="tw-swapa"&gt;&lt;IMG alt="Informe.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10167_Informe.jpg" width="450" /&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all. I´m in a hurry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 13:32:53 GMT</pubDate>
    <dc:creator>PFAN</dc:creator>
    <dc:date>2015-04-27T13:32:53Z</dc:date>
    <item>
      <title>Report with a variable number of graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218026#M8141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;I'm trying to make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a dinamic report with a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;variable number of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;graphics&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;(&lt;/SPAN&gt;1-6) (SAS Base 9.2)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Each&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;graph&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a variable number of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;axes y (1 or 2)&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and variable number of &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;series&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;to represent (&lt;/SPAN&gt;each one with &lt;SPAN class="hps"&gt;a different&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;color and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;symbol&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;My idea&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;was to use&lt;/SPAN&gt; "&lt;SPAN class="hps"&gt;proc&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;template"&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;and make a&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;macro that is&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;repeated&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;as many times as&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;graphics&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;to&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;represent&lt;/SPAN&gt; using "&lt;SPAN class="hps"&gt;layout&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;overlay", because itself&amp;nbsp; a&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;utomatically adjusts&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the dimensions of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;graphs according to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the number of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;these&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;represent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;But I&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;think this is&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;not posible to make a loop with an "if" sentence into de proc template, a&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;dditionally&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do not know if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you can assign&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;different color and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;symbol&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;each data series....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I've also&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;thought about making&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a macro&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and repeat&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;n&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;times&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;one&lt;/SPAN&gt; "&lt;SPAN class="hps"&gt;proc sgplot" &lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;conditions&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;inside but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;looks like I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is not doing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I'm actually&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a little lost&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;....&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;if you could give&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a little light&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;would appreciate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 09:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218026#M8141</guid>
      <dc:creator>PFAN</dc:creator>
      <dc:date>2015-04-09T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Report with a variable number of graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218027#M8142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attach your current program and data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 17:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218027#M8142</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2015-04-09T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Report with a variable number of graphics</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218028#M8143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry by my delay.&lt;/P&gt;&lt;P&gt;I´ve been out for personal ítems.&lt;/P&gt;&lt;P&gt;I´ve not the program, they have been brief tests, and I 'm a little stuck in the momento.&lt;/P&gt;&lt;P&gt;If you can help me to choose the best way of doing it .&lt;BR /&gt;The idea is to use variables and use the smallest possible code with Base SAS 9.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example there are 4 graphics in the report but it can be from 1 until 6 graphs.&lt;/P&gt;&lt;P&gt;Each of them or one or two axis.&lt;/P&gt;&lt;P&gt;The series of each them must have a color line and symbol diferent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="tw-swapa"&gt;&lt;IMG alt="Informe.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10167_Informe.jpg" width="450" /&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all. I´m in a hurry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Report-with-a-variable-number-of-graphics/m-p/218028#M8143</guid>
      <dc:creator>PFAN</dc:creator>
      <dc:date>2015-04-27T13:32:53Z</dc:date>
    </item>
  </channel>
</rss>

