BookmarkSubscribeRSS Feed
JohnPura
Calcite | Level 5

I have plot of the trajectory of a value over time and I would like to place just outside the graph, on the right, a bar indicating the normal range of the value (including numbers). How can accomplish this in proc template?

I've attached a rough picture of what I mean.

SGRender25_sample.png

Thanks,

John

2 REPLIES 2
ballardw
Super User

Without having data and your existing template it is pretty hard to provide details.

My first thought on this would be to add a high-low bar associated with a minimum or maximum value of you the x variable. Or look up the examples related to the GTL Draw statements and POLYLINE.

JohnPura
Calcite | Level 5

Here is some sample data. In the original graph you saw, there are 3 groups of patients, with each patient measured up to 7 time points. Here is data from one group, which includes 3 patients.

PTTimeValue
10211.1
10221.1
10231.2
10241.3
10251.3
10261.2
10310.7
10320.7
10330.6
10340.9
10350.7
10360.8
10410.9
10420.9
10430.8
10440.9
10450.9
10460.9

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1081 views
  • 0 likes
  • 2 in conversation