Dear All,
I am using Stata IC 14.2 (64-bit).
I am developing boxplots (sorted by a nominal variable: n200_cab_blind). Some of the boxes appear different (lighter in color) than the rest. There is no part of my code that dictates that difference in color. The boxes that are affected are always on the right-hand side of my graphs.
I have included the graph, as well as the code that I use.
I appreciate help from the group.
I am using Stata IC 14.2 (64-bit).
I am developing boxplots (sorted by a nominal variable: n200_cab_blind). Some of the boxes appear different (lighter in color) than the rest. There is no part of my code that dictates that difference in color. The boxes that are affected are always on the right-hand side of my graphs.
I have included the graph, as well as the code that I use.
Code:
egen median= median(bladderlowcoretemp), by(n200_cab) sum bladderlowcoretemp, det di r(p50) local x=r(p50) local x: di %9.1f `x' graph box bladderlowcoretemp if bladderlowcoretemp~=., yline(`r(p50)') ylabel(, angle(0)) over(n200_cab_blind, label(angle(rvertical) labsize(small)) sort(median)) nooutsides ytitle("Temperature, degrees") title ("Lowest Core Temp (C) by Center") note("Isolated CAB" "Only Includes Cases Matched to Surgical Records" "Site for Core Temp was Bladder" "Red line:median value across the database is:`x' degrees") graph export "Blinded\Temperature Management\lowesttemp_isolcabg.wmf", replace
Comment