I often deal with graphs involving large dollar amounts over time. Mathematica will generally format Y-axis ticks as scientific numbers {1.0x10^6, 1.2x10^6 . . . etc.}.
So for example,
mydata = EventSeries@
Table[{DatePlus[DateObject[{2010, 1, 1}], {x, "Month"}],
10^6 RandomReal[{1, 2}]}, {x, 0, 20}];
myplot = DateListPlot[mydata] (* produces a Y-axis in scientific notation, which is not what I want *)
I’m happy to let Mathematica pick where the ticks go, but I want to change the formatting to {$1.0MM, $1.2MM . . . etc.}.
I generate a lot of these graphs with varying Y-axes so I would greatly prefer not to have to set the upper and lower bounds by hand. Is there some mechanism that lets Mathematica pick the placement but lets me pick the formatting?
Hi, I am interested in this solution too. I would like to use human readable numeric values on my charts, not in scientific notation. I could not find how to do that. I am using Mathematica 12.1.1
Thanks!