I tried this code:
I ran your code as posted and the log for the Gradar part shows:
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
You may want to consider if these warnings about values are affecting the plot.
I am not sure what you want when you say you want the "plot to start from 0". 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.
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. I also seem to remember that having numeric values was best for controlling orders of appearance.
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.
Nearly 200 sessions are now available on demand in the Innovate Hub.
Watch Now →Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.