Hi,
I would like to display the variable label instead of variable name on the y-axis of a scatter plot with a linear regression fit. The two variabels are smw_meter and om_muscle_area_no_fat. Sample cod below.
I have tried ylabel () and yvarlabel() but to no avail. Either the y-axis is blank or it shows the variable name again.
Thanks!
I would like to display the variable label instead of variable name on the y-axis of a scatter plot with a linear regression fit. The two variabels are smw_meter and om_muscle_area_no_fat. Sample cod below.
Code:
graph twoway (scatter smw_meter om_muscle_area_no_fat) (lfit smw_meter om_muscle_area_no_fat), ylabel () legend(off)
Thanks!
Comment