User Tools

Site Tools

Site was transfered to
Please, always refer to this link with the following URL:


Usefull commands for plot charts with Gnuplot


Set label to axes

set <xlabel|ylabel> '<label_text>'
set xlabel 'x label name'

Set tics into axes

set <xtics|ytics> <start> <incr> {<end>}
set xtics 10, 0.5, 12      # 10, 10.5, 11, 11.5, 12

Include external files

For long gnuplot scripts is useful to divide the script in more than one file. To include in a gnuplot script external files the following command can be used:

load "filename"

Simple bar chart

set boxwidth 0.5
set style fill solid
plot "data.dat" using 1:2 with boxes

If you found any error, or if you want to partecipate to the editing of this wiki, please contact: wiki [at]

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url:
/membri/wiki/data/pages/cs/gnuplot.txt · Last modified: 2015/10/28 15:22 (external edit)

Policy sui Cookie