contourfcmap-pkg icon indicating copy to clipboard operation
contourfcmap-pkg copied to clipboard

[Suggestion] Add pointy ends

Open briochemc opened this issue 4 years ago • 1 comments

One small thing that could be added is the option to display the top and bottom colors for regions that exceed the contour line limits as little triangles.

Taking the example copied below, the "square" top and bottom might be taken as indicating a hard limit of about (-5.5, 5.5) for the data. I think having pointy/arrowy/triangly extensions would indicate more clearly that the data extends further than (-5, 5) (which I think was the original intention of these extensions).

Screen Shot 2022-02-02 at 5 01 31 pm

Maybe some inspiration can be taken from, e.g., cbarrow or cbarf. And maybe these already work together?

briochemc avatar Feb 02 '22 06:02 briochemc

This should be a pretty straightforward option to add to the pcolorbar function (which contourfcmap calls). Added to my to-do list...

kakearney avatar Apr 22 '22 18:04 kakearney