How to use xformatter/yformatter in Plot to change the number to 2M (million) or 2K(thousands)

Use yformatter in plot(…).
Something like
plot(…,
yformatter=y->round(Int64, y÷1000))
for scaling by 1000

2 Likes