Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm learning GNUplot. I need to change steps in which Y values increase while plotting my graph.xrange command will change range but steps. Ex. I have data like this
1 1000
2 1500
3 1
4 200
...

By default GNUplot is taking Y range as[0,5000] which is OK for me. but y values are increasing in steps of 500, I want to increase in steps of 200. Is it possible?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Use the setting ytics.

set ytics 200

There is also a setting for the smaller tics, which are called minor tics. The corresponding setting is mytics.

share|improve this answer

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.