gmt icon indicating copy to clipboard operation
gmt copied to clipboard

Suggestion to use a 'real' cyclic colormap in the code example of Cookbook section 3.20.5

Open yvonnefroehlich opened this issue 3 years ago • 3 comments

The Cookbook section 3.20.5. Cyclic (wrapped) CPTs is about how to turn a colormap into a cyclic one from a value-perspective. The code example uses the colormap jet, which is no cyclic colormap when looking at the start- and end-colors. I feel it makes more sense to use a colormap, which is also cyclic from a color-perspective, like romaO, bamO, brocO, corkO, and vikO of the Scientific Colormaps by F. Crameri or phase of the cmocean colormaps by Thyng et al. 2016 (built-in up on GMT 6.4.0 (: ).

yvonnefroehlich avatar Aug 15 '22 02:08 yvonnefroehlich

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. We appreciate that you took the time to contribute!

Please make sure you read our Contributing Guide and abide by our Code of Conduct.

welcome[bot] avatar Aug 15 '22 02:08 welcome[bot]

That is true of the data are periodic. But lots of uses of cyclic colormap wants to have fringes so one can "count" how many wraps there are, e.g., in InSAR. Both are useful for different purposes.

PaulWessel avatar Aug 15 '22 08:08 PaulWessel

That is true of the data are periodic. But lots of uses of cyclic colormap wants to have fringes so one can "count" how many wraps there are, e.g., in InSAR. Both are useful for different purposes.

Thanks @PaulWessel for your fast answer and explanation.

yvonnefroehlich avatar Aug 17 '22 17:08 yvonnefroehlich