0

I have a data file of the format:

172.168.1.1 12
192.168.1.0 1
.......

They are IP addresses with corresponding connections to them. I want to draw a histogram of connection to each IP address. However, gnuplot consider the column one to be numeric and thus plots a histogram differently. Is there a way to tell gnuplot to consider the column 1 as string labels instead?

1 Answer 1

1

I haven't had this problem myself, but this might work:

plot "myfile" using 2:xticlabels(1)

This question can also be relevant for you.

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

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.