<?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: Proc Sgpanel in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631887#M19614</link>
    <description>&lt;P&gt;The reason the Upper and Lower values are not connecting is very simple: Series connects the values in each Series statement, not across multiple Series statements. So the UCL at time 03hr gets connected to&amp;nbsp; the UCL at 36hr.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2020 14:45:20 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-03-13T14:45:20Z</dc:date>
    <item>
      <title>Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631750#M19605</link>
      <description>&lt;PRE&gt;TIME	STUDY	        MEAN	LCL	UCL
03hr	 REF03LT6	17.7	 14	21.3
03hr	 SIM03LT6	14.5	 14	14.6
36hr	 REF36LT6	19.3	 15	23.7
36hr	 SIM36LT6	18.5	  18	18.7
612hr REF612LT6	         33	26	40.6
612hr SIM612LT6	        39.4	 39	40
03hr	REF03GT6	20.6 	14	27
03hr	SIM03GT6	21	20.4	21.1
36hr	REF36GT6	28.4	 20	36.8
36hr	 SIM36GT6	19	18	19
612hr REF612GT6	       	33	26	41
612hr SIM612GT6		74	73	75
&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
/*******************PREPARATION OF A HORIZONTAL CI PLOT****************/

proc import out=ALLCI
datafile='/folders/myfolders/PARTIALAUC_JUV/ALLJUVCI_age.CSV'
            dbms=csv replace;
            getnames=yes;
            datarow=2;
run;      

ods _all_ close;
ods html path='/folders/myfolders/PARTIALAUC_JUV/ ';
ods graphics/antialiasmax=1100;


Proc sgpanel data=allcI;
Panelby TIME STUDY/ columns=4 rows=3 uniscale=row;
Series x=lcl y=MEAN /lineattrs =(pattern=1 COLOR=RED THICKNESS=5)legendlabel='SIMLT6'; 
Series x=ucl y=MEAN /lineattrs =(pattern=5 COLOR=BLUE THICKNESS=5)legendlabel='REFLT6' ;
Series x=lcl y=MEAN /lineattrs =(pattern=2 COLOR=GREEN THICKNESS=10)legendlabel='SIMGT6'; 
Series x=ucl y=MEAN /lineattrs =(pattern=15 COLOR=BLACK THICKNESS=5)legendlabel='REFGT6' ;
rowaxis label='90% Confidence Interval Mean';
colaxis label= 'Range 90% Confidence Interval pAUC AGE';
/*%put _automatic_;*/
Run; 
ods html close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I run the data presented with the code I get the&amp;nbsp; desired graph except that lines are not drawn connecting the upper (UCL)and lower (LCL) confidence interval values and only two of the requested colors black and green are used for the plots.&amp;nbsp; Can some one tell me how to get the graphs to reflect the requested graph colors and how to have lines drawn to connect the LL and UL of the confidence intervals?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 00:35:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631750#M19605</guid>
      <dc:creator>jacksonan123</dc:creator>
      <dc:date>2020-03-13T00:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631772#M19609</link>
      <description>I think you'll need to use SCATTER instead or a BAND statement to get what you want but that's just a guess.&lt;BR /&gt;&lt;BR /&gt;SCATTER has an upper/lower options for error bars/CI.  Are you trying to make a series of forest plots?&lt;BR /&gt;&lt;BR /&gt;You're graphing the exact same series twice so not sure what you're expecting to happen there. I'm guessing the later statements override the earlier ones. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2017/10/22/tips-tricks-segmented-discrete-axis/" target="_blank"&gt;https://blogs.sas.com/content/graphicallyspeaking/2017/10/22/tips-tricks-segmented-discrete-axis/&lt;/A&gt;</description>
      <pubDate>Fri, 13 Mar 2020 02:51:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631772#M19609</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-13T02:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631826#M19613</link>
      <description>&lt;P&gt;I do not completely understand what graph you are trying to create, but the following makes a plot of the CIs. f it isn't what you want, perhaps it can point you in the right direction:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data allci;
length TIME $5 STUDY $9;
input TIME STUDY	 MEAN	LCL	UCL;
datalines;
03hr   REF03LT6       17.7    14    21.3
03hr   SIM03LT6       14.5    14    14.6
36hr   SIM36LT6       18.5    18    18.7
612hr  REF612LT6      33      26    40.6
612hr  SIM612LT6      39.4    39    40
03hr   REF03GT6       20.6    14    27
03hr   SIM03GT6       21      20.4  21.1
36hr   REF36GT6       28.4    20    36.8
36hr   SIM36GT6       19      18    19
612hr  REF612GT6      33      26    41
612hr  SIM612GT6      74      73    75
;

/* PREPARATION OF A HORIZONTAL CI PLOT */
proc sgpanel data=allci;
panelby study / columns=4 rows=3 uniscale=row;
scatter x=mean y=Time / xerrorlower=LCL xerrorupper=UCL;
rowaxis label='90% Confidence Interval Mean';
colaxis grid label= 'Range 90% Confidence Interval pAUC AGE';
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Mar 2020 12:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631826#M19613</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-03-13T12:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sgpanel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631887#M19614</link>
      <description>&lt;P&gt;The reason the Upper and Lower values are not connecting is very simple: Series connects the values in each Series statement, not across multiple Series statements. So the UCL at time 03hr gets connected to&amp;nbsp; the UCL at 36hr.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 14:45:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-Sgpanel/m-p/631887#M19614</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-13T14:45:20Z</dc:date>
    </item>
  </channel>
</rss>

