2020年12月22日星期二

Creating publication quality images using gnuplot

I am using gnuplot version 5.2 under Ubuntu 18 OS to create plots for analysis and publication. It is easy to create plots for analysis and inserting them into PPTs. But when I am trying to insert the generated image into word document, the readability drops significantly. It is barely possible to distinguish the features and labels. To start with, I tried with the following setting.

set terminal pngcairo enhanced font 'Times New Roman,15'  set output "test.png"  

The resultant file is of size 29k.

I have gone through the answer in How to create PNG images with more than 72dpi using gnuplot? and tried,

set terminal pngcairo enhanced font 'Times New Roman,15' size 1500,1100`   

The resultant file is of size 44k.

Although the file size has increased, it has not improved when it comes to inserting into word document. Moreover the resultant image is not sharp and slightly blurred. To make my point, I am attaching the screen shots for comparison. Left image is created without mentioning size explicitly. Right image is creating by explicitly mentioning size 1500,1100enter image description here

My doubt is how can I increase the resolution of the output image without compromising the sharpness and visual appeal ?

https://stackoverflow.com/questions/65412976/creating-publication-quality-images-using-gnuplot December 23, 2020 at 01:13AM

没有评论:

发表评论