<?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: proc gradar axis order in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991916#M25971</link>
    <description>&lt;P&gt;The second graph is using 0 at the center of the graph. So I am not sure what you expecting/wanting that is not occuring.&lt;/P&gt;</description>
    <pubDate>Sun, 09 Aug 2026 03:40:17 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2026-08-09T03:40:17Z</dc:date>
    <item>
      <title>proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991846#M25968</link>
      <description>&lt;DIV&gt;Dear SAS Community,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I would like my spider plot to start from 0 in the center of the plot. I tried the option&amp;nbsp;&lt;SPAN&gt;starinradius=0 but the starlines got totally messed up. I would greatly appreciate it your help!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you very much&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palolix_0-1786049284220.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/116920iC7BA191086F83BD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palolix_0-1786049284220.png" alt="palolix_0-1786049284220.png" /&gt;&lt;/span&gt;
&lt;P&gt;I tried this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;proc format;&lt;/DIV&gt;
&lt;DIV&gt;value DM_range&amp;nbsp; &amp;nbsp; 1 = '15-20' 2 = '20-25' 3 = '25-30' 4 = '30-35' ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;data wide;&lt;/DIV&gt;
&lt;DIV&gt;input DM_range&amp;nbsp; a_texture b_texture c_texture d_texture e_texture f_texture g_texture;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;format DM_range DM_range.;&lt;/DIV&gt;
&lt;DIV&gt;output;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;datalines;&lt;/DIV&gt;
&lt;DIV&gt;1 10.71 30.36 12.50 23.21 1.79&amp;nbsp; 75.00 5.36&lt;/DIV&gt;
&lt;DIV&gt;2 26.42 24.53 29.25 2.83&amp;nbsp; 0.94&amp;nbsp; 69.81 3.77&lt;/DIV&gt;
&lt;DIV&gt;3 34.15 22.93 42.93 7.32&amp;nbsp; 2.44&amp;nbsp; 44.88 3.41&lt;/DIV&gt;
&lt;DIV&gt;4 54.96 21.37 55.73 1.53&amp;nbsp; 7.63&amp;nbsp; 30.53 3.05&lt;/DIV&gt;
&lt;DIV&gt;;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;proc sort data=wide out=long;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; by DM_range;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/* Transpose texture */&lt;/DIV&gt;
&lt;DIV&gt;proc transpose data=long name=texture_label out=long1(rename=(COL1 = texture_value) );&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; by DM_range;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; var a_texture b_texture c_texture d_texture e_texture f_texture g_texture;&lt;/DIV&gt;
&lt;DIV&gt;run;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; PROC PRINT DATA=long1 ;&lt;/DIV&gt;
&lt;DIV&gt;RUN ;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;data longnew;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; set long1;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if texture_label = 'a_texture' then texture_label = 'Creamy';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; else if texture_label = 'b_texture' then texture_label = 'Mushy';&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; else if texture_label = 'c_texture' then texture_label = 'Smooth';&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; else if texture_label = 'd_texture' then texture_label = 'Stringy';&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; else if texture_label = 'e_texture' then texture_label = 'Dry';&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; else if texture_label = 'f_texture' then texture_label = 'Watery';&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; else if texture_label = 'g_texture' then texture_label = 'None';&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; run;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;PROC PRINT DATA=longnew ;&lt;/DIV&gt;
&lt;DIV&gt;RUN ;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;goptions reset=all cback=white border htitle=12pt htext=12pt;&lt;/DIV&gt;
&lt;DIV&gt;goptions ctext=gray40;&lt;/DIV&gt;
&lt;DIV&gt;footnote1 j=c h=10pt "N 15-20= 56; N 20-25= 106; N 25-30= 205; N 30-35= 131";&lt;/DIV&gt;
&lt;DIV&gt;axis1 color=grayde order=(0 to 100 by 20) /*value=none*/;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;title1 j=c h=13pt 'Comparison of texture by DM range for BL516 (relative %)';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;proc gradar data=longnew;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp;chart texture_label / freq=texture_value ORDERACROSS=FORMATTED&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;overlay=DM_range&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; staraxis=(axis1 axis1 axis1 axis1 axis1 axis1 axis1)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; /*starinradius=0*/&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; spiderweb&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; noframe&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;starcircles=(25 50)&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;cstarcircles=black&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; cstars=(blue lime red Fuchsia)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; wstars=(2 2 2 2)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; lstar=(1 1 1 1)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; cframe=white&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;quit;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If I include&amp;nbsp;&lt;SPAN&gt;starinradius=0, the 0 starts at the center of the graph but the lines totally change and this is not what I want.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palolix_1-1786049408841.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/116921i6366371AA3B68FB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palolix_1-1786049408841.png" alt="palolix_1-1786049408841.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Aug 2026 20:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991846#M25968</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2026-08-06T20:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991848#M25969</link>
      <description>&lt;P&gt;I ran your code as posted and the log for the Gradar part shows:&lt;/P&gt;
&lt;PRE&gt;NOTE: Processing beginning for CHART statement number 1.
WARNING: Negative or zero value encountered for FREQ= variable.
WARNING: These observations are not processed.
NOTE: 27 nonmissing values of texture_label are processed.
NOTE: Radar categories are sorted in the order determined by the
      classification cell corresponding to DM_range=15-20.
WARNING: One or more overlay values is missing.
NOTE: 67846 bytes written to C:\Users\Owner\AppData\Local\Temp\SAS
      Temporary Files\_TD16884_DESKTOP-C36D7SF_\radar.png.
68   quit;

NOTE: PROCEDURE GRADAR used (Total process time):
      real time           0.36 seconds
      cpu time            0.15 seconds


&lt;/PRE&gt;
&lt;P&gt;You may want to consider if these warnings about values are affecting the plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure what you want when you say you want the "plot to start from 0".&amp;nbsp; &amp;nbsp;If you want 0 at the center of the plot you will have some lines spike inward has you have values in plot your plot set like 0.94, 1.79 and 1.53 which with the scale of values you show will approach the center. So perhaps a better description of what you actually want for appearance will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will admit that it has been a long time since I used GRADAR regularly, like 1996, and then mostly for windroses as I was dealing with wind directions. Are you sure that you want to use a FREQ variable? There are a few places where non-integer Freqs behave a bit oddly and that may be the cause of the warnings.&amp;nbsp; I also seem to remember that having numeric values was best for controlling orders of appearance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2026 22:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991848#M25969</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-08-06T22:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991850#M25970</link>
      <description>&lt;P&gt;Thank you very much for your reply! The warnings are due to the value 0.94 (if I replace that value with a number above 0, then all warnings and notes are gone). What I would like is the 0 at the center of the plot if possible. The values I have are relative percentages.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2026 22:51:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991850#M25970</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2026-08-06T22:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991916#M25971</link>
      <description>&lt;P&gt;The second graph is using 0 at the center of the graph. So I am not sure what you expecting/wanting that is not occuring.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2026 03:40:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991916#M25971</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-08-09T03:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991962#M25972</link>
      <description>&lt;P&gt;Yes, but I would like to have the starlines like in the first graph, they look weird in the second graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2026 19:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991962#M25972</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2026-08-10T19:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991971#M25973</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/6496"&gt;@palolix&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes, but I would like to have the starlines like in the first graph, they look weird in the second graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They look like they have the radius value you requested to be plotted. If you want to plot a different radius value then you need to provide one. Or remove the values from the plot set close to 0 if I understand what appearance you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2026 02:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991971#M25973</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2026-08-11T02:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc gradar axis order</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991992#M25974</link>
      <description>&lt;P&gt;I think that if I start the axis order at 1 instead of 0, and remove the&amp;nbsp;&lt;SPAN&gt;starinradius&lt;/SPAN&gt;&amp;nbsp;option I can get a better looking graph.&lt;/P&gt;
&lt;P&gt;Thank you very much for your help!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palolix_0-1786469906682.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/116970i9C582192EDFC4452/image-size/medium?v=v2&amp;amp;px=400" role="button" title="palolix_0-1786469906682.png" alt="palolix_0-1786469906682.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2026 17:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-gradar-axis-order/m-p/991992#M25974</guid>
      <dc:creator>palolix</dc:creator>
      <dc:date>2026-08-11T17:43:08Z</dc:date>
    </item>
  </channel>
</rss>

