I am using Stata/IC 14.2. When I develop box plots, sometimes one of the box plots appear faded. I have enclosed an example of what I am speaking of (see far right box plot).
In the code below, I am graphing a continuous variable ("volume") across categories of a nominal variable ("randomnum").
Any thoughts would be welcomed.
Donny
In the code below, I am graphing a continuous variable ("volume") across categories of a nominal variable ("randomnum").
Any thoughts would be welcomed.
Donny
Code:
*Prime Volume - RAP Volume* capture drop median egen median= median(volume), by(randomnum) sum volume, det di r(p50) local x=r(p50) local x: di %9.1f `x' graph box volume if volume>=100, yline(`r(p50)') ylabel(, angle(0)) over(n_no_circ, label(angle(rvertical)) sort(median)) nooutsides ytitle("Prime Vol - RAP Vol (ml)") title ("Net Prime Volume (ml) by Center") note("Not Using Circulatory Arrest" "Net Vol=Prime Vol - RAP Vol" "Only Includes Cases Matched to Surgical Records" "Red line:median value across the database is:`x' ml")
Comment