<?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 Panel Graph with annotation in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169660#M6290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a panel graph and include some annotation in each panel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a panel graph where each panel is a series of line graphs. I'd like to have a spot in each panel that lists, say, the proportion of the sample shown in each panel. Is there a way to do this with GTL? I haven't seen any example of this but I would love to be able to to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Feb 2014 21:00:08 GMT</pubDate>
    <dc:creator>jteres</dc:creator>
    <dc:date>2014-02-10T21:00:08Z</dc:date>
    <item>
      <title>Panel Graph with annotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169660#M6290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a panel graph and include some annotation in each panel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a panel graph where each panel is a series of line graphs. I'd like to have a spot in each panel that lists, say, the proportion of the sample shown in each panel. Is there a way to do this with GTL? I haven't seen any example of this but I would love to be able to to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 21:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169660#M6290</guid>
      <dc:creator>jteres</dc:creator>
      <dc:date>2014-02-10T21:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Graph with annotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169661#M6291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAS are you running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 21:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169661#M6291</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2014-02-10T21:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Graph with annotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169662#M6292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it's been a while. My Forum Decorum is rusty! I'm using 9.3.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169662#M6292</guid>
      <dc:creator>jteres</dc:creator>
      <dc:date>2014-02-10T22:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Graph with annotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169663#M6293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, one more question. You asked about doing this in GTL, but you also have a tag about SGPANEL. Can you post a snippit of your graph code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169663#M6293</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2014-02-10T22:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Graph with annotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169664#M6294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked about both because I know from experience that some things are possible only with writing a custom graph template, but right now I'm using sgpanel until I hit its limitations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgpanel ;&lt;/P&gt;&lt;P&gt; panelby num_courses num_credits ;&lt;/P&gt;&lt;P&gt; series x = month y = gpa / group = class_yr ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there's a line for each class (e.g., Class of 2014) that traces GPA over time on the same chart, with separate panels based on the number of courses and credits attempted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I'd like is to have sone text In each panel listing the total number of students who are represented in each panel as well as the percentage of the total that represents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 02:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169664#M6294</guid>
      <dc:creator>jteres</dc:creator>
      <dc:date>2014-02-11T02:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Panel Graph with annotation</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169665#M6295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your best option with SAS 9.3 is to use GTL's LAYOUT DATAPANEL with the INSET option. In 9.3, the inset data is MERGED (not match-merged) with the original data such that it is applied ordinally to each cell. We added match-merge ability in SAS 9.4, as well as give you the ability to use insets with SGPANEL. Below is a simple example for 9.3. There are addition options for insets to control features such as appearance and position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data inset;&lt;/P&gt;&lt;P&gt;label numstud = "Number of students";&lt;/P&gt;&lt;P&gt;numstud = 9; output;&lt;/P&gt;&lt;P&gt;numstud = 10; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=sashelp.class out=class; by sex; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data merged;&lt;/P&gt;&lt;P&gt;merge class inset;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc template;&lt;/P&gt;&lt;P&gt;define statgraph mypanel;&lt;/P&gt;&lt;P&gt;begingraph;&lt;/P&gt;&lt;P&gt;layout datapanel classvars=(sex) / columns=2 inset=(numstud);&lt;/P&gt;&lt;P&gt;&amp;nbsp; layout prototype;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scatterplot x=age y=height;&lt;/P&gt;&lt;P&gt;&amp;nbsp; endlayout;&lt;/P&gt;&lt;P&gt;endlayout;&lt;/P&gt;&lt;P&gt;endgraph;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgrender data=merged template=mypanel; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Panel-Graph-with-annotation/m-p/169665#M6295</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2014-02-11T15:11:40Z</dc:date>
    </item>
  </channel>
</rss>

