<?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: How to plot 3D box plot using SAS? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392205#M13415</link>
    <description>&lt;P&gt;How about something more like this instead? You can make two panels of two-dimensional box plots. Here is one way.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
   do z = 1 to 2;
      do x = 1 to 5;
         do i = 1 to 100;
            y = log(x) + 2 * z + normal(7);
            output;
         end;
      end;
   end;
run;

proc sgpanel;
   panelby z / columns=1;
   vbox y / category=x;
   run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 15:02:59 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-08-31T15:02:59Z</dc:date>
    <item>
      <title>How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392147#M13414</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I want to plot a 3D box blot which illustrates&amp;nbsp;means with standard error bars from calculated data as I show bellow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="3D Box Plot" style="width: 306px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14750i7032E5CCA686C334/image-size/large?v=v2&amp;amp;px=999" role="button" title="download.png" alt="3D Box Plot" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;3D Box Plot&lt;/span&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;All of data, which I have, are numeric type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 11:03:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392147#M13414</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-08-31T11:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392205#M13415</link>
      <description>&lt;P&gt;How about something more like this instead? You can make two panels of two-dimensional box plots. Here is one way.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
   do z = 1 to 2;
      do x = 1 to 5;
         do i = 1 to 100;
            y = log(x) + 2 * z + normal(7);
            output;
         end;
      end;
   end;
run;

proc sgpanel;
   panelby z / columns=1;
   vbox y / category=x;
   run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:02:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392205#M13415</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-08-31T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392230#M13419</link>
      <description>&lt;P&gt;Thats one of those things you can technically do, but really really shouldn't.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3D graphs rarely do a good job of conveying information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you're looking for data to include in a presentation I would suggest an alternative visualization.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:45:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392230#M13419</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T14:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392311#M13440</link>
      <description>&lt;P&gt;Not a Box plot in normal terms. A box plot, or box and whisker shows mean, median, interquartile range [box part] and whiskers out from the box to +/- 1.5 interquartile range for outliers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have SAS Graph then the&amp;nbsp; procedure us Proc G3D. The data set to plot would require the x, y and z value for each point. Getting the series connected as shown would take more than a bit of work to get the correct symbol statements displaying the intended series (upper, lower bound or the value though).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 18:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392311#M13440</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-31T18:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392384#M13447</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16777"&gt;@WarrenKuhfeld&lt;/a&gt;, However simultaneous effects of variables is important.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 22:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392384#M13447</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-08-31T22:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392385#M13448</link>
      <description>&lt;P&gt;Since you're not displaying 3 variables, a single line series plot with the high/low bars will communicate the information in a more efficient manner.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 22:27:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392385#M13448</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-31T22:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392386#M13449</link>
      <description>&lt;P&gt;I have a&amp;nbsp;suggestion, However it is not the best one and needs to be corrected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Set the graphics environment */                                                                                                      
goptions reset=all cback=white border htext=10pt htitle=12pt;                                                                           
 proc sort data=have;                                                                                                                    
   by x y;                                                                                                                             
run;

/* Calculate the mean and standard error for each X */                                                                                  
proc means data=have noprint;                                                                                                           
   by x y;                                                                                                                             
   var z;                                                                                                                            
   output out=meansout mean=mean stderr=stderr;                                                                                         
run;                                                                                                                                    
                                                                                                                                        
/* Reshape the data to contain three Y values for */                                                                                    
/* each X for use with the HILOC interpolation.   */                                                                                    
data reshape(keep=x y z mean);                                                                                                      
   set meansout;                                                                                                                        
   z=mean;  
   output;                                                                                                                              
                                                                                                                                        
   z=mean - stderr;                                                                                                                  
   output;                                                                                                                              
                                                                                                                                        
   z=mean + stderr;                                                                                                                  
   output;                                                                                                                              
run;                                                                                                                                    
 
/* Define the title */
   title1 '3D Plot Intraday Volume vs year and Time from Calculated Data'; 

/* Define the axis characteristics */
   axis1 offset=(10,10) minor=none;                                                                                                                  
   axis2 label=(angle=90);                                                                                                              

/* Define the symbol characteristics */
   symbol1 interpol=hiloctj color=blue line=2;                                                                                          
   symbol2 interpol=none color=blue value=dot height=1.5;
                                                                                                                                       
/* Plot the error bars using the HILOCTJ interpolation */                                                                               
/* and overlay symbols at the means. */                                                                                                 
proc g3d data=reshape;                                                                                                                
   scatter x*y=z / size=2 shape='prism';     
run;                                                                                                      
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This program make a bar chart which illustrates means of z vs x and y variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 22:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392386#M13449</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-08-31T22:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot 3D box plot using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392387#M13450</link>
      <description>Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;,&lt;BR /&gt;Please let me know your suggestions.&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 31 Aug 2017 22:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-plot-3D-box-plot-using-SAS/m-p/392387#M13450</guid>
      <dc:creator>aminkarimid</dc:creator>
      <dc:date>2017-08-31T22:32:18Z</dc:date>
    </item>
  </channel>
</rss>

