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?

2 Answers 2

1

Insert a line set key off before the plot command.

Sign up to request clarification or add additional context in comments.

3 Comments

Thank you DragonHu, really laconic answer!
for more options of set key, type help key in the gnuplot command interface.
Alternatively, you can add notitle option to the plot command, i.e. plot "gnuplot.data" using 1:3:xtic(2) with boxes notilte
0

You can just

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.