I want to plot a few sets of data points on the same x-axis that have different units. How can I set different axes for each incompatible quantity?


1 Answer 1


GNUplot has the ability to have 2 x- and 2 y-axes per plot. The additional axes are called x2 and y2. according to GNUplot.info FAQ

Here is a demo of it being used.

Also have a read of help plot from within the GNUplot program.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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