Dear colleauges, I am strugglying with Stata 14 and using the graph hbar save option. When I run the command lines, the graph is produced perfectly but is no where to be found after saving it.
Kindly if you can tell me what am I doing wrong in the Code below, with all my thanks as I need to follow-up the saved graphs to use "graph combine" more than 1 graph.
cd "d:"
summ onereg , de
local string=r(sum)
mylabels 0(1)10, local(mylaby) myscale(@)
#delimit ;
graph hbar (median) totregtime , nofill over(nrgindex, label(labcolor(navy) valuelabel labsize(*.3))) blabel(bar, color(navy) size(tiny) format(%3.0f)) bar (1, color(orange))
over(unitid, label(labcolor(maroon) valuelabel labsize(*.3)))
ylabel(`mylaby', ang(h)labsize(tiny) labcolor(navy) tlcolor(navy) tstyle(minor)) ytitle("Average time (minutes)", size(vsmall) color(navy)) intensity(*0.7)
title("Average daily recording time per register per patient", size(medsmall) color(navy) span)
note("Source: Time & Motion 2016", size(tiny) span)
saving(regtime);
#delimit cr
Kindly if you can tell me what am I doing wrong in the Code below, with all my thanks as I need to follow-up the saved graphs to use "graph combine" more than 1 graph.
cd "d:"
summ onereg , de
local string=r(sum)
mylabels 0(1)10, local(mylaby) myscale(@)
#delimit ;
graph hbar (median) totregtime , nofill over(nrgindex, label(labcolor(navy) valuelabel labsize(*.3))) blabel(bar, color(navy) size(tiny) format(%3.0f)) bar (1, color(orange))
over(unitid, label(labcolor(maroon) valuelabel labsize(*.3)))
ylabel(`mylaby', ang(h)labsize(tiny) labcolor(navy) tlcolor(navy) tstyle(minor)) ytitle("Average time (minutes)", size(vsmall) color(navy)) intensity(*0.7)
title("Average daily recording time per register per patient", size(medsmall) color(navy) span)
note("Source: Time & Motion 2016", size(tiny) span)
saving(regtime);
#delimit cr
Comment