turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS/GRAPH and ODS Graphics
- /
- Dynamic identification of value on the curve

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

04-28-2014 02:51 PM

Hi,

I am trying to find a way to identify value of a point on curve intersected by line from x-axis. I am trying to overlay a series plot and needle plot. I know the value on x-axis for needle plot but would like to know corresponding value ( at the intersection point on seriesplot) on the curve and would like to display or extend the needle to that point ( i am uanble to figure out how to use TIP). I am using proc template with GTL code.

Any help is appreciated.

Thanks.

Vijay

Accepted Solutions

Solution

04-28-2014
03:03 PM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to VijayM

04-28-2014 03:03 PM

All Replies

Solution

04-28-2014
03:03 PM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to VijayM

04-28-2014 03:03 PM

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Sanjay_SAS

04-28-2014 03:13 PM

Thanks Sanjay for your quick response. I can give bit more details. I am plotting Hemoglin values versus drug exposure duration. I would like to check value of hemoglobin at a specific timepoint ( hemoglobin may not be collected at this point).

But this is an event date and i would like to see what would be hemoglobin value this this event time ( and draw needle from x-axis to this point).

Thanks.

Vijay

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to VijayM

04-28-2014 03:45 PM

Is it appropriate to assume a linear interpolation between actual measurement times? If not you may want to look at a modeling procedure as the results would yeild an equation amenable to such graphing by building a display set.

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to VijayM

04-29-2014 11:21 AM

Thanks both for response. I have used PROC TRANSREG to get the value for specific timepoint on x-axis. I got the answer i was looking for.