gsamaras
gsamaras

Reputation: 73366

Make gnuplot remove unnecessary text from the graph

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?

Upvotes: 0

Views: 623

Answers (2)

Igor Martynetz
Igor Martynetz

Reputation: 31

You can just

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

Upvotes: 0

DragonHu
DragonHu

Reputation: 244

Insert a line set key off before the plot command.

Upvotes: 1

Related Questions