Box and Whisker plots - x-axis

I’m working on generating box plots in Phoenix WinNonlin (8.5.1.3) and was wondering if it’s possible to display a numeric (continuous) x-axis rather than the default categorical grouping.

Specifically, I’d like to:

  • Plot a PK parameter (e.g., AUC or Cmax) as a box plot

  • Use a continuous variable (e.g., dose, body weight or age) on the x-axis instead of discrete categories

Has anyone found a way to do this directly in Phoenix, or is binning the data into categories the only option?

Appreciate any guidance or workarounds others have used.

Thanks!

As far as I know, you can’t directly make a true box plot against a continuous x-axis variable as box plots will need a categorical axis. But if it’s different discrete doses, you can probably plot them against dosing groups (i.e. 100-200 mg, 200-300 mg, etc.). You’ll need to use the Data Wizard, set up some logic steps to bin the doses correctly, and plot as normal.

That being said, if you’re trying to see the relationship between dose and AUC, then you can create a scatter plot and add a LOESS smoother curve/regression line.

While I wouldn’t personally recommend, another option if you’re trying to keep the x-axis “as continuous as possible”, you could bin the data very finely so that the groups are very small. It may visually look continuous but won’t be considered continuous.