<?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: Jitter within Sgpanel in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/335790#M11666</link>
    <description>&lt;P&gt;Thanks PGstats..it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 23:00:45 GMT</pubDate>
    <dc:creator>statsas</dc:creator>
    <dc:date>2017-02-24T23:00:45Z</dc:date>
    <item>
      <title>Jitter within Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/334951#M11651</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I'm using sgpanel procedure&amp;nbsp;of SAS 9.4 to get a graph.&lt;/P&gt;&lt;P&gt;I have 2 days (1 and 29) and 3 trt (TRT A, TRT B and Placebo).&lt;/P&gt;&lt;P&gt;my sas code used :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC FORMAT ;
   VALUE dy  1    = '1 '
             29='29'
             OTHER =' ';
  value trtn 1="TRT A"
             2="TRT B"
             3='Placebo';
RUN;

PROC SGPANEL DATA=try noautolegend pad=( bottom=10%);
  title "TITLE 1";

  FORMAT trtgpn trtn.;
  PANELBY TRTGPN   / columns=3 LAYOUT=COLUMNLATTICE  sparse SPACING=3 
                    headerattrs=GraphUnicodeText novarname  colheaderpos=top uniscale=all;;

  HIGHLOW y=emn low=lo high=hi/lineattrs=(thickness=1.7 color=black) type=line ;
  HIGHLOW x=vis low=lclm high=uclm/lineattrs=(thickness=1.7 color=blue) type=line LOWCAP=SERIF HIGHCAP=SERIF;  
  SCATTER X=xc Y=yc/ markerchar=nbc MARKERCHARATTRS=(size=7 color=black )  ; 
  SCATTER X=vis Y=ratio/jitter jitterwidth=0.50 markerattrs=(size=8 color=VLIGB symbol=circle ) ;
 
 


  COLAXIS label=' ' TICKVALUEFORMAT=dy.  values=( 1 29 ) INTEGER ;
  ROWAXIS type=log logbase=2 grid display=(nolabel) ;

  COLAXISTABLE emnx / x=vis valueattrs=(color=blue)labelattrs=(color=blue size=7) label="GM Increase" SEPARATOR;
  COLAXISTABLE perc / x=vis valueattrs=(color=green) labelattrs=(color=green size=7)
                      label= "% (*ESC*){unicode '2265'x} 2fold inc";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;my probelem is with option Jitter that not work for day 29 &amp;nbsp;(on day 29 i don't have any jittering point) but in my graph i have results of day 29 scatter around 29!!! see results bellow :&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7398i9863AE5AB974F681/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="SGPanel34.png" title="SGPanel34.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;other problem : the line presenting high low points (in blue) &amp;nbsp;is cutted in some point !! and the line (in black) representing mean of day 1 are behind scatter points!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 13:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/334951#M11651</guid>
      <dc:creator>statsas</dc:creator>
      <dc:date>2017-02-22T13:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Jitter within Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/335204#M11655</link>
      <description>&lt;P&gt;Making colaxis a type=discrete axis would probably help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data g;
set sashelp.class;
grp = rand("uniform") &amp;lt; 0.5;
if grp then do;
    mid=12; low=11; high=13; end;
else do;
    mid=12; low=10; high=14; end;
run;

proc sgpanel data=g noautolegend;
panelby sex / rows=1;
scatter x=grp y=mid / 
    yerrorlower=low yerrorupper=high errorbarattrs=(thickness=2 color=blue);
scatter x=grp y=mid / markerattrs=(symbol=Plus size=30 color=blue);
scatter x=grp y=age / jitter;
colaxis type=discrete;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7409i401B020B5DD08041/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="SGPanel7.png" title="SGPanel7.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 05:08:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/335204#M11655</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-02-23T05:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Jitter within Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/335790#M11666</link>
      <description>&lt;P&gt;Thanks PGstats..it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 23:00:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Jitter-within-Sgpanel/m-p/335790#M11666</guid>
      <dc:creator>statsas</dc:creator>
      <dc:date>2017-02-24T23:00:45Z</dc:date>
    </item>
  </channel>
</rss>

