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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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