How to remove the commas from the axis's values?

Hi. I have plotted this graph in the PNG format, but the values at the axis are shown with a comma at the end. How to suppress the comma?


Moreover, I can get only output in PNG format:
c1.Print(“necr.pdf”)
The PDF output does not work using:
c1.Print(“necr.pdf”)


Please read tips for efficient and successful posting and posting code

_ROOT Version:6.26.06
_Platform:Linux Mint 20
_Compiler:GCC 9.4.0


I have no idea how such a comma can show. I never saw that. Can you provide an example reproducing this?

Hi,
Actually I solved the issue by changing the the current locale’s decimal separator from Spanish (comma) to US (dot). I can get even the PDF output file now.
Thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.