Is any charting tool better than the GNU chart?

I used the GNU plot for a long time, and I did not like the quality of the resulting graphics.

I admire the ease with which we can plot in gnu-plot, but I wanted the resulting graph to be better in terms of quality. For example: line thickness, color quality, etc.

So, is there any tool that maintains the ease of use of GNU PLOT but eliminates quality issues?

[I like the graph that excel produces, but unfortunately it's not on Linux ...]

+4
source share
3 answers

If you need a tool other than gnuplot , you are using it incorrectly. I agree, the colors and default settings do not look so pretty, but you can easily customize it in the ~/.gnuplot definition file

 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 already have a pretty good schedule. Tweak linewidth and fontsize bit, and you can do better than ever with Excel.

+17
source

You could try R. R has different graphing libraries. And this is very well explained in this SO question here - Relationship between building packages in R

+4
source

You can try ctioga2: http://ctioga2.sourceforge.net . I wrote this because gnuplot was unsatisfied. It does not have all the features of gnuplot, but in terms of graphics quality it is much better.

To switch from gnuplot, you might be interested in the gnuplot versus ctioga2 page .

+2
source

Source: https://habr.com/ru/post/1497362/


All Articles