<?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: Create Box Plot  without Box statement in Proc Template in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967995#M25574</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;. Can you please direct me to any references? if you can&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 01:16:15 GMT</pubDate>
    <dc:creator>StudentSASLearn</dc:creator>
    <dc:date>2025-06-03T01:16:15Z</dc:date>
    <item>
      <title>Create Box Plot  without Box statement in Proc Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967954#M25572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I know it's stupid question but want to check its possible? Can we create a box plot in proc template without using the 'Boxplot' statement. The reason for this&amp;nbsp; alot of customization involved in my requirement, where box plot statement is restricting me to change because of no options available. Is it possible to create the Exact box plot using the 'Bar' and Scatterplot Statements? ( I feel like dumb while writing the requirement, unfortunately I don't have the choice)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your opinions.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data dummy_data;
    call streaminit(123);
    
    do id = 1 to 10;
        group = 'A';
        value = rand('Uniform') * 30 + 20;
        output;
        
        group = 'B';
        value = rand('Uniform') * 30 + 30;
        output;
    end;
run;

proc print data=dummy_data;
run;
data dummy_data;
    call streaminit(123); /* Set seed for reproducibility */
    
    do id = 1 to 10;
        group = 'A';
        value = rand('Normal', 50, 10); /* Mean=50, SD=10 */
        output;
        
        group = 'B';
        value = rand('Normal', 65, 12); /* Mean=65, SD=12 */
        output;
    end;
run;
proc template;
    define statgraph myboxplot;
        begingraph;
            entrytitle "Comparison of Values by Group";
            layout overlay / 
                xaxisopts=(label="Group" discreteopts=(tickvaluefitpolicy=rotatethin))
                yaxisopts=(label="Measurement Value");
                
                boxplot x=group y=value / 
                    group=group
                    boxwidth=0.5
                    capshape=line
                    meanattrs=(symbol=circlefilled color=black size=8)
                    medianattrs=(color=red)
                    whiskerattrs=(pattern=solid)
                    outlierattrs=(color=blue symbol=circlefilled);
                
                referenceline y=55 / lineattrs=(color=gray pattern=dash);
                
                discretelegend "boxplot" / title="Group";
            endlayout;
        endgraph;
    end;
run;

proc sgrender data=dummy_data template=myboxplot;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Jun 2025 15:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967954#M25572</guid>
      <dc:creator>StudentSASLearn</dc:creator>
      <dc:date>2025-06-02T15:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box Plot  without Box statement in Proc Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967958#M25573</link>
      <description>&lt;P&gt;We have a BOXPLOTPARM statement, which will give you maximum control of the DATA passed into the box plot rendering. If you are wanting to have maximum control GRAPHICALLY to build box plots, consider using the following statements (specified in this order in the Layout Overlay):&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;HIGHLOWPLOT -- use this to draw the whiskers&lt;/LI&gt;
&lt;LI&gt;HIGHLOWPLOT / type=bar -- use this draw the actual box on top of the whiskers.&lt;/LI&gt;
&lt;LI&gt;SCATTERPLOT -- use this to draw the mean value&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I'm not sure of your exact requirements, but hopefully this will get you started.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 16:16:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967958#M25573</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2025-06-02T16:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box Plot  without Box statement in Proc Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967995#M25574</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15130"&gt;@DanH_sas&lt;/a&gt;&amp;nbsp;. Can you please direct me to any references? if you can&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 01:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967995#M25574</guid>
      <dc:creator>StudentSASLearn</dc:creator>
      <dc:date>2025-06-03T01:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box Plot  without Box statement in Proc Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967996#M25575</link>
      <description>&lt;A href="https://communities.sas.com/t5/Graphics-Programming/Is-there-anything-like-VBARPARM-for-Box-Plots/m-p/935717#M24783" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/Is-there-anything-like-VBARPARM-for-Box-Plots/m-p/935717#M24783&lt;/A&gt;</description>
      <pubDate>Tue, 03 Jun 2025 01:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/967996#M25575</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-06-03T01:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box Plot  without Box statement in Proc Template</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/968030#M25576</link>
      <description>&lt;P&gt;Perfect. Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 14:54:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-Plot-without-Box-statement-in-Proc-Template/m-p/968030#M25576</guid>
      <dc:creator>StudentSASLearn</dc:creator>
      <dc:date>2025-06-03T14:54:23Z</dc:date>
    </item>
  </channel>
</rss>

