|
From: Marcos M. <mar...@gm...> - 2012-09-11 09:26:47
|
Hi folks, I'm having a problem when using xticlabels and I'm not sure how to fix it. I want to have the x labels rotated by -45 degrees. The problem is that when I use the command "set xtics rotable by -45" it changes the behavior on xticlabels and no matter what I do, it never changes. I'm using version 4.4 patchset 3 (on xubuntu 12.04). The source file has 5 columns and the first one I want to use as label on the x-axis. The gnuplot commands I'm using are below. If I leave the "set xtics nomirror rotate by -45", it will always print over the bar (or under the bars, since it is filled), perpendicular to the x-axis. If I remove the line "set xtics nomirror rotate by -45", it will then print under the x-axis, but parallel to it. Rotate in this case doesn't work. The question is, how do I make the label rotate by -45 using xticlabels? I tried everything, but the only result I get is the one I mention above. It will always put the label perpendicular to the x-axis and under the bar. set terminal jpeg medium set output "histo.jpeg" set boxwidth 0.75 absolute set style fill solid 1 border -1 set xtics nomirror rotate by -45 set style histogram cluster gap 1 set style data histogram set ylabel "Bandwidth" set xlabel "Kernel Configuration" plot "xx.dat" using 2:xticlabels(1) t "1 VM", '' u 3 t "2 VM", '' u 4 t "5 VM", '' u 5 t "10 VM" show output Thanks for the help. Marcos E. Matsunaga |