<?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: Numbers gplot creates with symbol interpol=box25 mode=include in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40749#M1297</link>
    <description>Yes,  I could do that,  but I'm sort of back to where I started (having a different proc to give me numbers for QC).   I didn't use proc boxplot to begin with because I couldn't see how to get rid of the 'whiskers'.  My spec calls for a box plot showing the range (box) between Q1 and Q3  with the median.  Hence I went with gplot and the box25  in the symbol statement.  Is there a way to get this with boxplot?  Thanks</description>
    <pubDate>Thu, 14 Jan 2010 18:38:33 GMT</pubDate>
    <dc:creator>RobbA</dc:creator>
    <dc:date>2010-01-14T18:38:33Z</dc:date>
    <item>
      <title>Numbers gplot creates with symbol interpol=box25 mode=include</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40747#M1295</link>
      <description>I am trying to make it easy for the person doing quality control on my graph.  I have the following gplot statement:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
symbol1 interpol=BOX25 color=black width=1 bwidth=4 mode=include;&lt;BR /&gt;
&lt;BR /&gt;
proc gplot data=comb1 gout=work.heartih  ;&lt;BR /&gt;
 plot hr * grp /  anno=anno name='route'&lt;BR /&gt;
    haxis=axis1&lt;BR /&gt;
    vaxis=axis2    ;&lt;BR /&gt;
    ods output route=temp;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
As a result,  SAS is creating the Q1, Q3 and Median values within the statement like a black box.  I would like to be able to pump those values out to some external dataset so that someone could verify that what gplot is doing is actually what is expected.   This would be a much more accurate way of checking that using the eyeball  on the printed graph.   Any help would be appreciated.  Thanks</description>
      <pubDate>Thu, 14 Jan 2010 16:31:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40747#M1295</guid>
      <dc:creator>RobbA</dc:creator>
      <dc:date>2010-01-14T16:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Numbers gplot creates with symbol interpol=box25 mode=include</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40748#M1296</link>
      <description>If knowing the exact numbers used in the boxplot is important, you might want to try "&lt;B&gt;proc boxplot&lt;/B&gt;" (part of SAS/STAT, rather than SAS/GRAPH) - it has an &lt;B&gt;"outbox="&lt;/B&gt; option that will let you create a data set containing the actual numbers.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_boxplot_sect015.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/statug_boxplot_sect015.htm&lt;/A&gt;</description>
      <pubDate>Thu, 14 Jan 2010 16:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40748#M1296</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-01-14T16:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Numbers gplot creates with symbol interpol=box25 mode=include</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40749#M1297</link>
      <description>Yes,  I could do that,  but I'm sort of back to where I started (having a different proc to give me numbers for QC).   I didn't use proc boxplot to begin with because I couldn't see how to get rid of the 'whiskers'.  My spec calls for a box plot showing the range (box) between Q1 and Q3  with the median.  Hence I went with gplot and the box25  in the symbol statement.  Is there a way to get this with boxplot?  Thanks</description>
      <pubDate>Thu, 14 Jan 2010 18:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40749#M1297</guid>
      <dc:creator>RobbA</dc:creator>
      <dc:date>2010-01-14T18:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Numbers gplot creates with symbol interpol=box25 mode=include</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40750#M1298</link>
      <description>Hmm ... I see 2 other alternatives (there might be other alternatives using GTL or sgplot, etc, that I don't know about).&lt;BR /&gt;
&lt;BR /&gt;
1 - Use proc boxplot (or other sas analytics procs) to generate a data set containing the values describing the boxplot, and then use annotate to actually draw the boxplot geometry onto an empty gplot set of axes.  This would take a bit of work, but it *could* be done this way (I've done something similar in a special dashboard before).&lt;BR /&gt;
&lt;BR /&gt;
2 - Use dev=activex to draw the SAS/GRAPH gplot bar chart, and then have your QA person view the graph in a browser, and hover their mouse over the boxes to see the actual box values.  This is still a bit manual/interactive, but at least you get to see the actual/exact numeric values used in the boxplot (median, low, high, 25th percentile, 75th percentile).  Below is some code:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
%let name=plt036;&lt;BR /&gt;
filename odsout '.';&lt;BR /&gt;
&lt;BR /&gt;
GOPTIONS DEVICE=activex;&lt;BR /&gt;
ODS LISTING CLOSE;&lt;BR /&gt;
ODS HTML path=odsout body="&amp;amp;name..htm";&lt;BR /&gt;
&lt;BR /&gt;
symbol1 interpol=BOX25 color=black width=1 bwidth=4 mode=include;&lt;BR /&gt;
&lt;BR /&gt;
title "Activex boxplot: hover over boxes to see values";&lt;BR /&gt;
proc gplot data=sashelp.cars;&lt;BR /&gt;
plot msrp * type;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
quit;&lt;BR /&gt;
ODS HTML CLOSE;&lt;BR /&gt;
ODS LISTING;</description>
      <pubDate>Thu, 14 Jan 2010 20:20:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40750#M1298</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2010-01-14T20:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Numbers gplot creates with symbol interpol=box25 mode=include</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40751#M1299</link>
      <description>Assuming you have SAS 9.2, you can do this using the Graph Template Language. The program below will draw a boxplot without the end caps. I used the ODS OUTPUT statement to generate an output dataset so you can verify the numbers. Let me know if you have any questions.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;BR /&gt;
Dan&lt;BR /&gt;
&lt;BR /&gt;
proc template;&lt;BR /&gt;
define statgraph boxplot;&lt;BR /&gt;
begingraph;&lt;BR /&gt;
layout overlay;&lt;BR /&gt;
  boxplot x=age y=height / display=(fill mean median outliers);&lt;BR /&gt;
endlayout;&lt;BR /&gt;
endgraph;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods output sgrender=boxdata;&lt;BR /&gt;
proc sgrender data=sashelp.class template=boxplot; run;&lt;BR /&gt;
&lt;BR /&gt;
proc print data=box; run;</description>
      <pubDate>Thu, 14 Jan 2010 21:20:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Numbers-gplot-creates-with-symbol-interpol-box25-mode-include/m-p/40751#M1299</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2010-01-14T21:20:30Z</dc:date>
    </item>
  </channel>
</rss>

