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?
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.
Can you post an image of what this should look like?
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, maybe
I get a communications error trying to view the example. By any chance is the lin to an intranet that's restricted?
I didn't realize that would create a link. Uploading it this time.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.