I often plot graphs in gnuplot
prompt shell, like this:
gunuplot> plot sin(x) with linespoints pointtype 3
and the figure showed up is great.
Today, I save the graph in a .png
file, like this:
gnuplot> set term png
gnuplot> set output "output.png"
gunuplot> plot sin(x) with linespoints pointtype 3
Then, I open output.png
with eog
in Ubuntu, like this:
$ eog output.png
I found that, the output.png displayed in eog
is not as good as the figure plotted in prompt shell.
Why is that? Do I need to adjust some settings before save the output.png
?
PS
I found that a way around it, first,
set term postscript
set output "output.ps"
then in linux shell,
$ convert output.ps output.jpg
This way some sort of solve the my problem.