BookmarkSubscribeRSS Feed
TimH
Quartz | Level 8

I have data which is recorded over time.   I've been using NEEDLE charts,  I wasn't sure about BAND but it now looks like I could possibly use that instead.   I need the needle or band to be a different color for each shift, so that it is visually possible to differentiate the shift the data is f

The dataset has a SHIFT variable, a TIMESTMP variable which has the start time of the interval when the measurement was taken, and the measurement. 

I've read about attribute datasets, which seems like what I need for this - but would I need to create an entry for each TIMESTMP and use TIMESTMP as the ATTRID?   Can I use SHIFT as the ATTRID instead, even though it's not in the chart?

5 REPLIES 5
TimH
Quartz | Level 8

I should add that I had "okay" results by splitting the measurement variable into pieces, and setting one of the pieces to the value and the other to missing, then plotting all the variables on the same graph with different color attributes.   That worked for NEEDLE but not for BAND which stretched the bands across the intervals with missing values.

ballardw
Super User

Can you post an image of what this should look like?

TimH
Quartz | Level 8

This is it done with the splitting technique and NEEDLE chart...  I removed the 4-hour average SERIES to make this look clearer I think it would look better with BAND, maybeMSU Chart

ballardw
Super User

I get a communications error trying to view the example. By any chance is the lin to an intranet that's restricted?

TimH
Quartz | Level 8

I didn't realize that would create a link. Uploading it this time.Sample_ Chart.png

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1102 views
  • 0 likes
  • 2 in conversation