I have used GNU-plot for quite a long time and the thing I didn't like about it the quality of graph it produces.
I admire the ease with which we can plot graphs in gnu-plot, but i wished that the resultant graph was better in terms of quality. For example: the thickness of lines, color quality etc..
So is there any tool that retains the ease-of-use of GNU PLOT but eliminates the quality issues?
[I like the graph that excel produces, but unfortunately its not on Linux...]
gnuplot is still relevant and sometimes is a better option.
Matplotlib = ease of use, Gnuplot = (slightly better) performance. I know this post is old and answered but I was passing by and wanted to put my two cents. Here is my conclusion: if you have a not-so-big data set, you should use Matplotlib. It's easier and looks better.
Highest RatedUsing Gnuplot literally since ages for scientific reports. Excellent and the makers really understand the needs of plots in a scientific world. Really, really useful and keeps getting better and better.
If you want another tool than gnuplot
, then you are using it wrongly. I agree, the default colors and settings do not look that pretty, but you can so easily tweak it in your definition file ~/.gnuplot
set macros
png="set terminal png size 1800,1800 crop enhanced font \"/usr/share/fonts/truetype/times.ttf,30\" dashlength 2; set termoption linewidth 3"
eps="set terminal postscript fontfile \"/usr/share/fonts/truetype/times.ttf\"; set termoption linewidth 3;
set style line 1 linecolor rgb '#de181f' linetype 1 # Red
set style line 2 linecolor rgb '#0060ae' linetype 1 # Blue
set style line 3 linecolor rgb '#228C22' linetype 1 # Forest green
set style line 4 linecolor rgb '#18ded7' linetype 1 # opposite Red
set style line 5 linecolor rgb '#ae4e00' linetype 1 # opposite Blue
set style line 6 linecolor rgb '#8c228c' linetype 1 # opposite Forest green
Sample script:
@png
set output "output.png"
plot x ls 1, -x ls 2, x**3 ls 3
And you have quite a nice graph already. Tweak linewidth
and fontsize
a bit, and you can do better than you would ever obtain with Excel.
You could give R a try. R has different graph plotting libraries. And it's very well explained in this SO question here - Relationship between plotting packages in R
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With