Hi all,
I have a graph for which I'd like to use the colorvar( ) option, but in this particular case I don't need the right y-axis (i.e., the z-axis) shown at all.
I was able to remove the z-axis itself using "zscale(off axis(1))" but haven't been able to figure out how to remove the colored markers from the z-axis. Is there any option for this? Thank you!!!

I have a graph for which I'd like to use the colorvar( ) option, but in this particular case I don't need the right y-axis (i.e., the z-axis) shown at all.
I was able to remove the z-axis itself using "zscale(off axis(1))" but haven't been able to figure out how to remove the colored markers from the z-axis. Is there any option for this? Thank you!!!
Code:
sysuse auto, clear scatter price mpg, colorvar(foreign) zscale(off axis(1))

Comment