How can I display axis values as thousands, millions and billions instead of 10^3, 10^6 and 10^9?

S
sophiawilson96 · Mar 19, 2020 · 2.3K views
Question
I would like to make the y-axis of my plot to show 16.000.000 as 16 million instead of 1.6 x 10 ^ 7. Does someone know a solution?  
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Nov 20, 2025

One suggestion:

 

y=1e6*(1:5);
plot(y/1e6);
ylabel('Million');
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!