Data visualization with SAS programming

How to change intersetgroup position in boxplot

Reply
Contributor
Posts: 61

How to change intersetgroup position in boxplot

Hi there, I tried to interset a table at above of the boxplot, but the position option within the interstgroup statement in the PROC BOXPLOT does not work. Please see the code and the result below. 

 

proc boxplot data=temp_base;
plot calculated_household_in_baseline*value/;
insetgroup q1 q2 /header='test' pos=top;
run;

 

 

 


boxplot.PNG
Respected Advisor
Posts: 4,920

Re: How to change intersetgroup position in boxplot

Posted in reply to Tiny_Kane

Since position=top is the default, what happens when you omit the option?

PG
Contributor
Posts: 61

Re: How to change intersetgroup position in boxplot

Hi PG,

 

If I omit the option, the result is the same. Therefore, position= option does not work. 

 

I found the reason actually, I forgot to add 'ods graphics off' at the very begining. I guess that's the reason why the option does not work...It was silly lol~

Ask a Question
Discussion stats
  • 2 replies
  • 225 views
  • 0 likes
  • 2 in conversation