Hello, I have a question about GMT5 running in windows. Well I would like to put sea and land in my map. The problem is that sea and map has the same colour. I am using commands makecpt , grdimage.
my code in GMT is:
the problem is that I can not find command in order to convert the color of the sea from green to blue. I have to do some changes in makecpt command? ALso, I have to mention that bot.cpt is used for the sea
I don’t have GMT5 anymore and don’t remember f there is one cpt made up with a sharp transition at 0, but you can manually create a cpt file to made up with 2 distinct cpts. One for the negative part and the other for positives. GMT6 had hinged cpts to do exactly this.
None if you keep using the classical mode. By none I mean GMT4 & 5 syntax still works but area off course the endless number of new features added in GMT6
sorry, i didn’t read your message carefully… my solution works if your land and sea data are all in the same .grd file.
the way you are doing it, you might need to paint transparent NANs over the sea area in your land file. you can do that with grdmath, NAN command (i think), then use the -Q in grdimage to make the NANs transparent
also, i think you need the ‘>>’ starting on the 2nd line that writes to DEEP.ps