<?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: SGPANEL SAS 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507227#M136103</link>
    <description>&lt;P&gt;I ginned up the following dummy data so if I can get the code working for this then it will work for my example as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data x;&lt;BR /&gt;&lt;BR /&gt;do trtp = "A", "B";&lt;BR /&gt;do i = 1 to 100;&lt;BR /&gt;paramcd = "X";&lt;BR /&gt;do visit = 1 to 4;&lt;BR /&gt;base = ranuni(-1)*10;&lt;BR /&gt;aval = ranuni(-1)*1000;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;do i = 1 to 100;&lt;BR /&gt;paramcd = "Y";&lt;BR /&gt;do visit = 1 to 7;&lt;BR /&gt;base = ranuni(-1)*40;&lt;BR /&gt;aval = ranuni(-1)*50;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 16:32:25 GMT</pubDate>
    <dc:creator>Doug____</dc:creator>
    <dc:date>2018-10-24T16:32:25Z</dc:date>
    <item>
      <title>SGPANEL SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507185#M136071</link>
      <description>&lt;P&gt;I need to create a series of scatter plots&amp;nbsp;four per page for laboratory parameters.&amp;nbsp;They all need to be contained in one RTF and must have varying axis labels, titles and y-axis scales. Can this be done with SGPANEL?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507185#M136071</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-24T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507191#M136074</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10429"&gt;@Doug____&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I need to create a series of scatter plots&amp;nbsp;four per page for laboratory parameters.&amp;nbsp;They all need to be contained in one RTF and must have varying axis labels, titles and y-axis scales. Can this be done with SGPANEL?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What have you tried?&lt;/P&gt;
&lt;P&gt;When you say "four per page" do you mean a specific 2 by 2 graph layout, 4 separate, one graph panel with 4 graphs vertically or horizontally aligned?&lt;/P&gt;
&lt;P&gt;With SGPANEL if you have graphs side-by-side they would have the same vertical axis definition. If you want side-by-side with different y scales you likely need to move to the Graphics Template Language and possibly a Layout LATTICE or Layout DATALATTICE structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide some data that represents what you want to graph as a data step that we could attempt?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 15:16:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507191#M136074</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-24T15:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507193#M136075</link>
      <description>&lt;P&gt;As there are differing attributes for each, I would suggest looking at gridded in graph template label:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/grstatug/62464/HTML/default/viewer.htm#p1hc9zh9cfvelkn11k57in8ind9q.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/grstatug/62464/HTML/default/viewer.htm#p1hc9zh9cfvelkn11k57in8ind9q.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this, and dynamic variables you could have the four graphs, gridded, with labels and axis passed in by dynamic variables.&amp;nbsp; Then you can call this template with a call execute from datastep with each block of data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 15:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507193#M136075</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-10-24T15:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507194#M136076</link>
      <description>&lt;P&gt;I'm just getting started with it. The layout would be 2x2 per page and each graph would show baseline values on the x-axis and the visit of interest value on the y-axis. Each plot within the parameter would show a different visit. So for example page 1 would show the results for Platelets let's say for Visits 1, 2, 3, 4, then the second page would start at visit 5 - 8, etc. for as many as are needed. Then there would be a page break to the next parameter and it repeats. I don't have any example data so the x and y values could be any integer or floating point number depending on the test conducted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 15:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507194#M136076</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-24T15:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507195#M136077</link>
      <description>&lt;P&gt;In addition the axis values would be set once per parameter so all the plots look the same within the test analyzed. The y-axis labels would reflect at which visit the analysis takes place and would vary with each plot within the grid.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 15:22:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507195#M136077</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-24T15:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: SGPANEL SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507227#M136103</link>
      <description>&lt;P&gt;I ginned up the following dummy data so if I can get the code working for this then it will work for my example as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data x;&lt;BR /&gt;&lt;BR /&gt;do trtp = "A", "B";&lt;BR /&gt;do i = 1 to 100;&lt;BR /&gt;paramcd = "X";&lt;BR /&gt;do visit = 1 to 4;&lt;BR /&gt;base = ranuni(-1)*10;&lt;BR /&gt;aval = ranuni(-1)*1000;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;do i = 1 to 100;&lt;BR /&gt;paramcd = "Y";&lt;BR /&gt;do visit = 1 to 7;&lt;BR /&gt;base = ranuni(-1)*40;&lt;BR /&gt;aval = ranuni(-1)*50;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SGPANEL-SAS-9-4/m-p/507227#M136103</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2018-10-24T16:32:25Z</dc:date>
    </item>
  </channel>
</rss>

