Dear Statalists,

I came across one of the commands relevant to the quantile regression of econometrics.
As is well known, the grqreg draws estimated values from an explanatory variable at the y-axis along the quantiles of a dependent variable in the x-axis.
Can anyone help to transpose the graph symmetrically with respect to y = x?

For instance, the graph below will symmetrically shift along the reference line of y = x, and axes will be exchanged with each other.
Code:
webuse auto, clear
qreg price weight
grqreg, cons ci ols olsci
Array

Thanks a lot in advance.