<?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: Changing display of y-axis dedrogram (proc cluster, proc tree) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400173#M66695</link>
    <description>&lt;P&gt;thank you so much for your reply! I tried the below but it isn't working;&amp;nbsp;nothing changed in the display.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is what I tried: I reviewed the computeheight option and tried increasing by a factor of 3 to start(?) and &amp;nbsp;changed the unit to inches. &amp;nbsp;Seems I'm missapplying the suboptions, but not sure what is wrong. I tried searching for an example that applied these suboptions and couldn't find one. Any suggestions for me? Thank you again very much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc cluster simple method=centroid rmsstd rsquare nonorm out=tree plots(maxpoints=1000)&lt;/P&gt;&lt;P&gt;plots=dendrogram(unit=in computeheight=3.12&amp;nbsp;.375) &amp;nbsp; ;&lt;/P&gt;&lt;P&gt;id condition;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var active_score;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Oct 2017 22:56:07 GMT</pubDate>
    <dc:creator>Eileen18</dc:creator>
    <dc:date>2017-10-01T22:56:07Z</dc:date>
    <item>
      <title>Changing display of y-axis dedrogram (proc cluster, proc tree)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400155#M66693</link>
      <description>&lt;P&gt;Hi, first off, I am new to cluster analysis and am still learning the appropriate methods to emply. &amp;nbsp;I am trying to divide a&amp;nbsp;variable ("condition") with 300 levels &amp;nbsp;into clusters based on 1 numberical/continuous variable ("active_score"). Using proc cluster to start (code below) I am seeing that the y-axis of the dendrogram is unreadable as the labels are all on top of eachother (dendrogram image attached). &amp;nbsp;I was trying to find a way to space out the labels but unsuccessfully.. any ideas? It also might just be that proc cluster is not the best way to go (proc fastclus or proc varclus?) Again, I'm learning so might need to move to another procedure but still wondering if I can make it work to be able to adjust the y-axis to see what I have. I'm using SAS 9.4. &amp;nbsp;Thank you in advance!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc cluster simple method=centroid rmsstd rsquare nonorm out=tree plots(maxpoints=1000);&lt;/P&gt;&lt;P&gt;id condition;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var active_score;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc tree out=cluster nclusters=5 inc=10 ;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id condition;&amp;nbsp;&lt;/P&gt;&lt;P&gt;copy active_score;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort; by cluster;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print; by cluster;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var &amp;nbsp;condition active_score;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Oct 2017 19:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400155#M66693</guid>
      <dc:creator>Eileen18</dc:creator>
      <dc:date>2017-10-01T19:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing display of y-axis dedrogram (proc cluster, proc tree)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400164#M66694</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_cluster_syntax01.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_cluster_syntax01.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;plots=dendrogram suboptions do what you want&lt;/P&gt;</description>
      <pubDate>Sun, 01 Oct 2017 21:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400164#M66694</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-10-01T21:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing display of y-axis dedrogram (proc cluster, proc tree)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400173#M66695</link>
      <description>&lt;P&gt;thank you so much for your reply! I tried the below but it isn't working;&amp;nbsp;nothing changed in the display.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is what I tried: I reviewed the computeheight option and tried increasing by a factor of 3 to start(?) and &amp;nbsp;changed the unit to inches. &amp;nbsp;Seems I'm missapplying the suboptions, but not sure what is wrong. I tried searching for an example that applied these suboptions and couldn't find one. Any suggestions for me? Thank you again very much!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc cluster simple method=centroid rmsstd rsquare nonorm out=tree plots(maxpoints=1000)&lt;/P&gt;&lt;P&gt;plots=dendrogram(unit=in computeheight=3.12&amp;nbsp;.375) &amp;nbsp; ;&lt;/P&gt;&lt;P&gt;id condition;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var active_score;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Oct 2017 22:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400173#M66695</guid>
      <dc:creator>Eileen18</dc:creator>
      <dc:date>2017-10-01T22:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing display of y-axis dedrogram (proc cluster, proc tree)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400178#M66696</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cluster data=sashelp.mileages(type=distance) method=density k=3
   plots=dendrogram(ch=3 5 unit=in);
   id City;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I just tried the option and it affects the size for me.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Oct 2017 23:11:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400178#M66696</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-10-01T23:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing display of y-axis dedrogram (proc cluster, proc tree)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400303#M66700</link>
      <description>&lt;P&gt;Ah- great to know it does in fact work. &amp;nbsp;I tried the plots=dendrogram(ch=3 5 unit=in) option&amp;nbsp;and am seeing the attached (a blank graph; ods graphics are on. I am in SAS enterprise 9.4) so maybe it's something with my data (too many levels to the id var?) I will continue to try some different sub-options and explore different methods as well. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 15:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400303#M66700</guid>
      <dc:creator>Eileen18</dc:creator>
      <dc:date>2017-10-02T15:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing display of y-axis dedrogram (proc cluster, proc tree)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400347#M66703</link>
      <description>&lt;P&gt;I just tried this and it made a really big graph.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
   array x[100];
   do i = 1 to 10 * dim(x);
      do j = 1 to dim(x);
         x[j] = uniform(368);
         end;
       output;
      end;
   run;
           
ods html body='b.html';
ods graphics on;
proc cluster plots(only maxpoints=5000) = dendrogram(unit=in sh=100) method=ward;
   ods select dendrogram;
run;         
ods html close;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Oct 2017 17:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Changing-display-of-y-axis-dedrogram-proc-cluster-proc-tree/m-p/400347#M66703</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-10-02T17:31:51Z</dc:date>
    </item>
  </channel>
</rss>

