I’m plottng monetary data with gnuplot and currently I’ve managed to set the labels on the y axis to be floating point values with no decimals (rather than exponentials) but I want to be able to add comma’s to the label but I cant figure out how.
Any ideas?
i.e. The current output gives me £25000000 – as you can see, the data isn’t grouped – I want to split it in thousands so it appears as £25,000,000.
EDIT:
My current setting is
set format y '£%.0f'
As stated here the thousands separator depends on the locale-specific formatting.
If this setting allows for the thousands separator it will be printed with:
An other option would be to set the ytics manually (see here) like so: