<?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: I want to plot horizontal boxplot with displaying subjid with different color and symbol. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962006#M25357</link>
    <description>This works, the only problem now is I have visits 0, 2, 4, 6, 8, 10, 12, and then 16, 20, 24. this groups shaded area in the middle where 14. but I want to cut the shadded area at 12. also, I want to have distance spread out accordingly like distance from 12 to 14 should be more compared to 10 to 12.</description>
    <pubDate>Mon, 17 Mar 2025 13:57:42 GMT</pubDate>
    <dc:creator>dsam</dc:creator>
    <dc:date>2025-03-17T13:57:42Z</dc:date>
    <item>
      <title>I want to plot horizontal boxplot with displaying subjid with different color and symbol.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961876#M25351</link>
      <description>&lt;P&gt;I need to add follwoing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;X axis visit&lt;/P&gt;&lt;P&gt;Y axis change&lt;/P&gt;&lt;P&gt;boxplot with each subjid overlay with different symbol and color&lt;/P&gt;&lt;P&gt;I also need to separate shaded area for first 4 visits as treated verus rest of the visits as non treated.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 14:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961876#M25351</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2025-03-14T14:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961881#M25352</link>
      <description>&lt;P&gt;Maybe we have a different idea of what a boxplot does, but if you have X as visit and Y as change, I guess its not obvious to me where the variable subject fits in. Could you show us an example of such a boxplot?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 14:29:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961881#M25352</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2025-03-14T14:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961890#M25353</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dsam_0-1741963412930.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105436i8F6B71FD9AED4F04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dsam_0-1741963412930.png" alt="dsam_0-1741963412930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can i create different symbol and color of the jitter for each subjectid&amp;nbsp; (small circles on box plots)?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 14:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961890#M25353</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2025-03-14T14:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961891#M25354</link>
      <description>this is my code:&lt;BR /&gt;proc sgplot data= adprop;&lt;BR /&gt;vbox chg/ category= avisitn;&lt;BR /&gt;scatter x=avisitn y=chg/jitter ;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 14 Mar 2025 14:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961891#M25354</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2025-03-14T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961900#M25355</link>
      <description>&lt;P&gt;In the VBOX statement you can label the outliers with the value of a variable (like an ID) by using the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1waawwbez01ppn15dn9ehmxzihf.htm#n1e5yepfne1f4zn137mttauqq7tia" target="_self"&gt;DATALABEL=&lt;/A&gt; option. I don't think you can have the outlier markers have a different color depending on the ID.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 14:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961900#M25355</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2025-03-14T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961946#M25356</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data adprop;
call streaminit(123);
do i=1 to 8;
 do avisitn=1 to 8;
   if avisitn in (1:4) then group='treat   ';
    else group='nontreat';
   chg=rand('uniform');
   output;
 end;
end;
run;


data dattrmap;
id='id';
input value MarkerSymbol : $20. MarkerColor :$20.;
cards;
1 StarFilled  Bisque
2 Asterisk    Aqua
3 Circle    Black
4 Triangle   Blue
5 Diamond    red
6 TriangleFilled   green
7 DiamondFilled    yellow
8 Hash      Brown 
9 Plus  Chartreuse 
10 X    Coral
11 Square  DeepPink
12 Y   Fuchsia 
13 Z   Tomato
15 Star  YellowGreen
;


proc sgplot data= adprop dattrmap=dattrmap;
vbox chg/ category= avisitn ; *group=avisitn;
scatter x=avisitn y=chg/jitter group=avisitn attrid=id;
block x=avisitn block=group / filltype=alternate fillattrs=(color=grey transparency=0.8)
    altfillattrs=(color=white transparency=1) ; 
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1742022607128.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105451i4C2E77CADBE29E29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1742022607128.png" alt="Ksharp_0-1742022607128.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Mar 2025 07:10:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/961946#M25356</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-15T07:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962006#M25357</link>
      <description>This works, the only problem now is I have visits 0, 2, 4, 6, 8, 10, 12, and then 16, 20, 24. this groups shaded area in the middle where 14. but I want to cut the shadded area at 12. also, I want to have distance spread out accordingly like distance from 12 to 14 should be more compared to 10 to 12.</description>
      <pubDate>Mon, 17 Mar 2025 13:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962006#M25357</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2025-03-17T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962007#M25358</link>
      <description>&lt;P&gt;To get the values spaced as you described, trying setting TYPE=LINEAR on the XAXIS statement and see if you the desired results. By default, the category axis type for box plots is DISCRETE.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 14:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962007#M25358</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2025-03-17T14:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: I want to plot horizontal boxplot with displaying subjid with different color and symbol.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962008#M25359</link>
      <description>this works, thank you!</description>
      <pubDate>Mon, 17 Mar 2025 14:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/I-want-to-plot-horizontal-boxplot-with-displaying-subjid-with/m-p/962008#M25359</guid>
      <dc:creator>dsam</dc:creator>
      <dc:date>2025-03-17T14:24:57Z</dc:date>
    </item>
  </channel>
</rss>

