0

This is my script

set title "Frequency graph"
set xlabel "Words"
set ylabel "Frequency"

set boxwidth 0.5
set style fill solid
plot "gnuplot.data" using 1:3:xtic(2) with boxes


pause -1 "Hit any key to continue"

based on this answer.

The result is this: enter image description here You see, I want that "gnuplot.data" using 1:3:xtic(2) and the red horizontal bar to disappear. How to achieve that?

Community
  • 1
  • 1
gsamaras
  • 71,951
  • 46
  • 188
  • 305

2 Answers2

1

Insert a line set key off before the plot command.

DragonHu
  • 244
  • 1
  • 5
0

You can just

plot "gnuplot.data" using 1:3:xtic(2) with boxes title ""