Gnuplot command with multiple c arguments

Plotting in Gnuplot:

For example, if you try to set both the data type and errors in one command, a conflict arises with the arguments, that is:

plot "test.csv" using 1:2:3 with points pointtype 5 with yerrorbars

The error message is as follows: duplicate or conflicting arguments in the plot parameters.

Any suggestions on this?

  • Split it into two separate teams?

  • Or is there really a way to give a few ā€œcā€ arguments in a single line sheet?

+4
source share
1 answer

No, you cannot use two arguments withon the same line.

But in your case, this is not necessary, because the style yerrorbarsalso displays dots:

set xrange [0:1]
set samples 11
plot '+' using 1:1:($1*0.1) with yerrorbars pt 5

enter image description here

, , plot,

plot "file.dat" using 1:2 with lines, "" using 1:2:3 with yerrorbars
+3

All Articles