# XY plot data

**URL:** <https://forum.certara.com/t/xy-plot-data/3389>\
**Category:** Phoenix WNL basics\
**Created:** [March 19, 2019, 1:35pm UTC](https://forum.certara.com/t/xy-plot-data/3389 "2019-03-19T13:35:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan.prell](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@jan.prell](https://forum.certara.com/u/jan.prell)\
**Post date:** [March 19, 2019, 1:35pm UTC](https://forum.certara.com/t/xy-plot-data/3389/1 "2019-03-19T13:35:51Z")

</div>

Hi all,

I have a problem with data displayed on XY plot, see below. One of the two lines continues back to the 0hr from the 72hrs but there is no data for this.

Ideas? Did I miss something? Phxproj is attached.

Thanks, Jan.

---

<div class="post-metadata">

**Author:** ![ana.henry](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/ana.henry/32/2578_2.png) [@ana.henry](https://forum.certara.com/u/ana.henry)\
**Post date:** [March 19, 2019, 1:52pm UTC](https://forum.certara.com/t/xy-plot-data/3389/2 "2019-03-19T13:52:32Z")

</div>

> [@jan.prell](#):
>
> Hi all,
> 
> I have a problem with data displayed on XY plot, see below. One of the two lines continues back to the 0hr from the 72hrs but there is no data for this.
> 
> Ideas? Did I miss something? Phxproj is attached.
> 
> Thanks, Jan.

Hi Jan,

The project doesn’t appear to be attached. Can you try attaching it again?

---

<div class="post-metadata">

**Author:** ![jan.prell](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@jan.prell](https://forum.certara.com/u/jan.prell)\
**Post date:** [March 19, 2019, 2:07pm UTC](https://forum.certara.com/t/xy-plot-data/3389/3 "2019-03-19T14:07:21Z")

</div>

> [@ana.henry](#):
>
> Hi Jan,
> 
> The project doesn’t appear to be attached. Can you try attaching it again?

Hi Ana,

sorry about that. I hope this time will be uploaded succesfully.

Jan.

[test.phxproj](https://forum.certara.com/uploads/short-url/nrlz9vytIu9T6M5a839pQHRYEM6.phxproj) (72.6 KB)

 ![test.jpg](https://us1.discourse-cdn.com/certara/original/1X/586497f19c879513954672cce1a954a6d6f97411.jpeg)[input.xls](https://forum.certara.com/uploads/short-url/u98CPoLZyDUOhRg8Z05lFodTcak.xls) (20 KB)

---

<div class="post-metadata">

**Author:** ![SimonDavis](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SimonDavis](https://forum.certara.com/u/SimonDavis)\
**Post date:** [March 19, 2019, 3:03pm UTC](https://forum.certara.com/t/xy-plot-data/3389/4 "2019-03-19T15:03:53Z")

</div>

HI Jan, I think what you were missing was setting Subject as the Group ID.

please look at the attached plot and see if that is what you wanted.

without subject identified as a group or other mapping the line joins all the requested points

Simon

 ![missing_subject_as_group.jpg](https://us1.discourse-cdn.com/certara/original/1X/524418ae591523f539bcced2a03f24c2f86f9727.jpeg)

---

<div class="post-metadata">

**Author:** ![jan.prell](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@jan.prell](https://forum.certara.com/u/jan.prell)\
**Post date:** [March 19, 2019, 3:24pm UTC](https://forum.certara.com/t/xy-plot-data/3389/5 "2019-03-19T15:24:25Z")

</div>

> [@sdavis](#):
>
> HI Jan, I think what you were missing was setting Subject as the Group ID.
> 
> please look at the attached plot and see if that is what you wanted.
> 
> without subject identified as a group or other mapping the line joins all the requested points
> 
> Simon

Hi Simon,

that is exactly what I wanted. Thanks a lot, I appreciate your support!

It is interesting that my method without subject identified as a group worked with no problem for another datasets…

Anyway, thanks again!

Have a nice day, Jan.

---

<div class="post-metadata">

**Author:** ![wei.2.shi](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@wei.2.shi](https://forum.certara.com/u/wei.2.shi)\
**Post date:** [September 2, 2021, 8:52pm UTC](https://forum.certara.com/t/xy-plot-data/3389/6 "2021-09-02T20:52:38Z")

</div>

I want to plot a set data after BID dosing (12 hours apart). the concentrations were quantifiable in the samples up to 12 hours post the first daily dosing, after the second daily dosing (at 12 hours), sample was only collected at 24 hours after the first daily dosing (i.e. 12 hours after the second daily dose). So I would like to plot the data with the line not connected between 12 hours and 24 hours. Can you let me know if I can do this using XY plotting within WNL?

---

<div class="post-metadata">

**Author:** ![SimonDavis](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@SimonDavis](https://forum.certara.com/u/SimonDavis)\
**Post date:** [September 3, 2021, 9:01am UTC](https://forum.certara.com/t/xy-plot-data/3389/7 "2021-09-03T09:01:51Z")

</div>

Hi Wei Shi, I would construct a variable DoseNo for dose number withhin the day and then use that as a group variable, see the attached project. Plot A uses time from first dose which what I think you want but Plot B using time since last dose may also be useful.

[BID\_NoSample.phxproj](https://forum.certara.com/uploads/short-url/9DUolHCNuL2fblz8SpD0BqJ7FmL.phxproj) (170 KB)

 ![DoseNo.jpg](https://us1.discourse-cdn.com/certara/original/1X/fb45ed77093c29cecc08ba03b07f236cac98c204.jpeg)
