<?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: Removing a variable level from sgpanel in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986165#M25887</link>
    <description>Try option 'proportional' and 'uniscale=row' :&lt;BR /&gt;&lt;BR /&gt;proc sgpanel data=new ;&lt;BR /&gt;title "Navel Test 1,2,5: Comparison of 'L' by Treatment at day 0, 3, and 7";&lt;BR /&gt;where Test in(1,2,5);&lt;BR /&gt;panelby Day/ rows=1 onepanel  sparse spacing=10 proportional uniscale=row  ;</description>
    <pubDate>Fri, 10 Apr 2026 06:28:58 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2026-04-10T06:28:58Z</dc:date>
    <item>
      <title>Removing a variable level from sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986162#M25886</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dear SAS Community,&lt;/P&gt;
&lt;P&gt;Is it possible to remove the level 'Initial' of the Treatments in Day=3 and Day=7? Since there is no initial treatment for these two days I would like to remove it for day 3 and 7 but I could not figure it how.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palolix_0-1775779617679.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/114169iB85E6B302E8DF388/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palolix_0-1775779617679.png" alt="palolix_0-1775779617679.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgpanel data=new ;&lt;BR /&gt;title "Navel Test 1,2,5: Comparison of 'L' by Treatment at day 0, 3, and 7";&lt;BR /&gt;where Test in(1,2,5);&lt;BR /&gt;panelby Day/ rows=1 onepanel&amp;nbsp; sparse spacing=10 ;&lt;BR /&gt;vbar Trt/ group=TRT_day3 groupdisplay=cluster clusterwidth=0.8 response=Avg_L stat=mean ;&lt;BR /&gt;rowaxis values=(0 to 80 by 20) refticks=(values) ;&lt;BR /&gt;keylegend / title='3-day Trt' ;&lt;BR /&gt;colaxis display=(nolabel); &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;I tried this but it didn't work:&lt;/P&gt;
&lt;P&gt;if Day=3 and Trt='Initial' then delete;&lt;BR /&gt;else if Day=7 and Trt='Initial' then delete;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would greatly appreciate it your help!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 00:11:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986162#M25886</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2026-04-10T00:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a variable level from sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986165#M25887</link>
      <description>Try option 'proportional' and 'uniscale=row' :&lt;BR /&gt;&lt;BR /&gt;proc sgpanel data=new ;&lt;BR /&gt;title "Navel Test 1,2,5: Comparison of 'L' by Treatment at day 0, 3, and 7";&lt;BR /&gt;where Test in(1,2,5);&lt;BR /&gt;panelby Day/ rows=1 onepanel  sparse spacing=10 proportional uniscale=row  ;</description>
      <pubDate>Fri, 10 Apr 2026 06:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986165#M25887</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-04-10T06:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a variable level from sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986173#M25888</link>
      <description>&lt;P&gt;It worked! Thank you so much Ksharp!!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 15:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Removing-a-variable-level-from-sgpanel/m-p/986173#M25888</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2026-04-10T15:51:36Z</dc:date>
    </item>
  </channel>
</rss>

