Plot specified parameters on X-Y plane with Y-axes on both left and right sides

Added by TANG about 1 year ago

Dear all,
As shown in the figure, i want to plot y axes on both left and right for different datasets. How to implement with GMT? Thank you.

plotyy.png (26.7 KB)


Replies (1)

RE: Plot specified parameters on X-Y plane with Y-axes on both left and right sides - Added by Joaquim about 1 year ago

You make two calls to psxy. One for the left y and select only these axes -BWSt. And a second call for the right side with using -BE

(1-1/1)