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

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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.

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