<?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: Need separate Y axis scales in SGPANEL in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583516#M18758</link>
    <description>That worked, thank you so much!</description>
    <pubDate>Fri, 23 Aug 2019 15:38:15 GMT</pubDate>
    <dc:creator>megsredl</dc:creator>
    <dc:date>2019-08-23T15:38:15Z</dc:date>
    <item>
      <title>Need separate Y axis scales in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583506#M18756</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a graph comparing the trends in disease occurrence in two populations, but the populations are different sizes so I need to plot different Y axis scales for the two panels. I've tried using the UNISCALE=COLUMN statement but the scales didn't change. Here is my code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=timedata;
	panelby idu / uniscale=column;
	styleattrs datacontrastcolors=(blue red green brown) datalinepatterns=(solid);
	series x=year y=count1 / group=disease lineattrs=(thickness=2) legendlabel="Disease";
	series x=year y=count2 / group=disease lineattrs=(thickness=2) legendlabel="Disease";
	refline 2015.75 / axis=x label=("ICD-10-CM Transition");
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've attached the graph this code generates. To clarify my code, count1 is the count up until the marked line and count2 is the count since the marked line, since I needed to plot two separate values on the vertical line.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 15:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583506#M18756</guid>
      <dc:creator>megsredl</dc:creator>
      <dc:date>2019-08-23T15:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need separate Y axis scales in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583514#M18757</link>
      <description>&lt;P&gt;Also setting COLUMNS=1 on the PANELBY statement should give you the ranges you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 15:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583514#M18757</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-08-23T15:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need separate Y axis scales in SGPANEL</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583516#M18758</link>
      <description>That worked, thank you so much!</description>
      <pubDate>Fri, 23 Aug 2019 15:38:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Need-separate-Y-axis-scales-in-SGPANEL/m-p/583516#M18758</guid>
      <dc:creator>megsredl</dc:creator>
      <dc:date>2019-08-23T15:38:15Z</dc:date>
    </item>
  </channel>
</rss>

