I would like to produce a plot like the one here: http://www.climate-lab-book.ac.uk/2016/spiralling-global-temperatures/ where there are obviously multiple data points for each month (one for each year). Ideally I would like to use a different colour for each year. The RADAR procedure comes close to providing what I need but not close enough.
Spiral Plot:http://blogs.sas.com/content/graphicallyspeaking/2014/07/08/spirals/
You can just color the spiral or the needles with the appropriate color.
While this may not be what you want, I also created a Spiral Heat Map to display the mean temperature by month over 5 years using SAS 9.4. Image is attached. I will post an article on this soon.
Dear Sanjay, thanks for your prompt and helpful reply. The example in http://blogs.sas.com/content/graphicallyspeaking/2014/07/08/spirals/ doesn't include the 12 axes for each month of the year that I would need but I note that your attached image does have this feature and so I very much look forward to your forhcoming article.
The code is meant to show you how to create a spiral using the SGPLOT code. It is not meant as a canned solution to your needs. You can modify the code to suit your needs.
Thanks and understood.
Here's a custom SAS/Graph with 12 monthly spokes you might could use as a starting place to modify into the graph you're wanting:
http://robslink.com/SAS/democd55/albany_ny_circular.htm
http://robslink.com/SAS/democd55/albany_ny_circular_info.htm
Robert, many thanks that is really helpful and will save me reinventing the wheel (or maybe that should be reinventing the spokes).
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.