Data file (~/test.dat): ----------------------8<------- # A B a 1 b 2 ------------------8<----------- then i typed in gnuplot's prompt: plot "~/test.data" using 1:2 with boxes