Dear all,
I'm creating graphs, and the y-axis ticks are 0, .05, .1, .15, .2. I want the y-axis ticks displayed as 0, 0.05, 0.1, 0.15, 0.2, i.e., I want to display 0 before decimal places.
I tried
line IndustrySize tm, yscale(range(0 0.2)) ylabel(, format(%03.2f) angle(horizontal)) ytitle("{it:IndustrySize}") xtitle("") plotregion(style(none) margin(zero)) saving(IndustrySize, replace)
but it creates the y-axis ticks as 0.00, 0.05, 0.10, 0.15, 0.20, i.e., it creates 0 before decimal places (as I want), but it creates trailing zeros (which I do not want).
Is it possible to create graphs with y-axis ticks such that they display 0 before decimal places, but do not create trailing zeros?
Thank you very much for your help, and I look forward to hearing form you.
Best,
John
I'm creating graphs, and the y-axis ticks are 0, .05, .1, .15, .2. I want the y-axis ticks displayed as 0, 0.05, 0.1, 0.15, 0.2, i.e., I want to display 0 before decimal places.
I tried
line IndustrySize tm, yscale(range(0 0.2)) ylabel(, format(%03.2f) angle(horizontal)) ytitle("{it:IndustrySize}") xtitle("") plotregion(style(none) margin(zero)) saving(IndustrySize, replace)
but it creates the y-axis ticks as 0.00, 0.05, 0.10, 0.15, 0.20, i.e., it creates 0 before decimal places (as I want), but it creates trailing zeros (which I do not want).
Is it possible to create graphs with y-axis ticks such that they display 0 before decimal places, but do not create trailing zeros?
Thank you very much for your help, and I look forward to hearing form you.
Best,
John
Comment