Feature #1141

grdcontour -T: add option to tick mark all closed contours

Added by Andreas 15 days ago.

Status:NewStart date:2017-08-03
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Candidate for next minor release
Platform:

Description

Although this may not be a feature that would be critical in any kind of way, it still would be very nice to have;

What about adding an option, e.g. -T[+a], that would tick mark all closed contours (as opposed to just ticking the innermost).

I changed line 609 in grdcontour.c from

if (inside == 2) save[pol].do_it = false;    /* Not innermost so mark it for exclusion */

to

if (inside == 2) save[pol].do_it = true;    /* Not innermost so mark it for exclusion */

to make the sombrero example.

sombrero.sh Magnifier (281 Bytes) Andreas, 2017-08-03 03:36

sombrero.pdf (16.7 KB) Andreas, 2017-08-03 03:36

Also available in: Atom PDF