Feature #1141

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

Added by Andreas about 1 year ago. Updated 11 months ago.

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

100%

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

History

#1 Updated by Paul 12 months ago

  • Status changed from New to Resolved
  • Assignee set to Paul
  • % Done changed from 0 to 100

Easy enough to add. In r19269.

#2 Updated by Andreas 11 months ago

Simply amazing!

#3 Updated by Paul 11 months ago

  • Status changed from Resolved to Closed

Closed as implemented.

Also available in: Atom PDF