How to avoid to produce a big eps file with large entries?

I am plotting a 2D histogram with about 500K entries. I use

to get an eps file. However, this eps file is huge, size: ~4MB! So I am wondering if I have other choice to produce a small one. Or alternatively, there is a command available to change its size.

ROOT Version: v4_04_02b_fbits_eh-GCC_3_4_3–opt
Linux: Linux2.4,


By default TH2s are rendered as scatter plot. Change the draw option
to “box”, “cont”, etc to save space.


Also, try to produce a PDF file instead, they much more compact.