Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In GnuPlot, i am setting xtics to something like this:

set xtics
("AIM" 0.00000, "gtalk" 2.00000, "rtp-multicast-filetransfer" 4.00000, "sipc_music" 6.00000, "skype1" 8.00000, "skype2" 10.00000, "voip-extension" 12.00000, "voip-extension2downata" 14.00000, "ymessenger" 16.00000)

The problem is, that these labels overlap with each other in the plot, so how can i remove/overcome this overlapping?

Can I increase the length between xticks or write some kind of legend showing:
rmf : rtp-multicast-filetransfer ?

share|improve this question
add comment

1 Answer 1

This might not be the solution you want, but you can rotate labels with:

set xtics rotate by -45

This would rotate tick labels at the x-axis by -45°.

share|improve this answer
    
Do you know of any way to centre the label about the xtic, instead of label starting from the xtick? –  skypemesm Oct 30 '10 at 14:28
    
Sorry, no idea, but wouldn't that look strange? I imagine if they don't start at the tick, the reader could be confused where the labels belong to. –  htorque Oct 30 '10 at 14:41
    
true.. the problem with rotating it is that the label for the last xtic gets truncated by the border. –  skypemesm Oct 30 '10 at 14:47
    
Maybe depends on the output - seems to work here: img.xrmb2.net/images/534339.png - I hope someone more familiar with GNUPlot can be of more help. ;-) –  htorque Oct 30 '10 at 15:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.