Is there any option with Stata that can achieve the same goal as this in R: labels = function(y) {paste0(y/1000000,'million')}?

Basically, I want to show big numbers on y scale but shown as in millions. Cannot manually set the scale because I have to do multiple plots.

Thanks!