I tried
plot [][1:3] 'word-based.txt' using 1:xtic(2) with line
it draws the required graph but with horizontal direction of x-axis labels which is texts as
shown in picture. How to make its direction vertically so i can be read more easily.
i used windows terminal .
Edit:
Data used
2.02 economic
2.04 education
1.94 sports
2.01 culture
2.07 artandmusic
1.93 political
1.94 articles
1.83 press
1.86 novel1
1.86 novel2
1.85 novel3
1.85 shortstories
1.76 literature
1.60 history
1.81 bookcollection1
1.77 bookcollection2

gnuplotcode and the data, such that the people willing to help you can reproduce the figure. – Henri Menke Feb 09 '14 at 13:17