BookmarkSubscribeRSS Feed
ChrisWooff1
Fluorite | Level 6

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.

6 REPLIES 6
Jay54
Meteorite | Level 14

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.


Spiral_HeatMap_Apex.png
ChrisWooff1
Fluorite | Level 6

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.

Jay54
Meteorite | Level 14

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.

ChrisWooff1
Fluorite | Level 6

Thanks and understood.

GraphGuy
Meteorite | Level 14

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

 

albany_ny_circular.png

ChrisWooff1
Fluorite | Level 6

Robert, many thanks that is really helpful and will save me reinventing the wheel (or maybe that should be reinventing the spokes).

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 2164 views
  • 4 likes
  • 3 in conversation