Gmt math (NORM)

Hello, I have a data matrix with two columns and several lines, the file is in .txt format. I’m trying to apply the function (NORM) from gmt math so that the Y axis normalizes, however, I don’t know how to proceed in the application of this command, can someone help me. Thanks!

NORM will modify all columns beyond the first so that their range is 1. If you want them to go form 0 to 1 then you need to subtract the lower value, e.g

gmt math orig.txt NORM DUP LOWER SUB = normalized.txt

This worked perfectly, thanks