I have some problems creatin a graph with scalar variables, here is my code:

set scheme cleanplots, perm
egen maxmonto=max(monto)
egen maxtea=max(tea)
su maxmonto
scalar maxmonto2=r(max)
disp maxmonto2

twoway (scatter tea monto, mlcolor(blue) mlwidth(medthick) yscale(r(0 20 50 83.4)) ylabel(0 20 50 83.4) xscale(r(0 1000 2000 maxmonto2)) xlabel(0 1000 2000 maxmonto2) title("Pequeñas empresas MN") ytitle("TEA-%") xtitle("Monto del crédito-S/ Miles"))

Thanks in advance