Hello there,

I am facing a problem when using the xlabel and ylabel in grqreg in STATA Quantile Regression. I am running the below do file but my graph is not showing the labels as I mentioned in my command and showing this error when it comes to grqreg.

option xlabel() not allowed
r(198);

end of do-file

r(198);

If I use the grqreq without xlabel and ylabel, it works fine but I want to edit the scales as I need to run this for different data and will set the same scale for each variable.

[set scheme s1color
set seed 5001
sqreg csad absrm rm2, q(10 25 50 75 95 99) reps(20)
grqreg rm2, ci ols olsci graphregion(color(white)) reps(20) seed(5001)
xlabel(none) xlabel(0.01(0.20)0.99)
ylabel(none) ylabel(-8(2)8)
title("Quantile Regressions")
xtitle("Quantile")
ytitle("RM2")]
Array