Skip to content

Let box-and-whisker symbols take separate width and cap#7072

Merged
PaulWessel merged 1 commit intomasterfrom
bw-separate-values
Nov 3, 2022
Merged

Let box-and-whisker symbols take separate width and cap#7072
PaulWessel merged 1 commit intomasterfrom
bw-separate-values

Conversation

@PaulWessel
Copy link
Member

By default, the body of the box-and-whisker symbol inherited its size from the error cap width (see #7071 for background). This meant it was not possible to set the cap width to zero (i.e., no cap) without loosing the symbol entirely. This PR allows users to set separate dimensions via +wwidth[/cap] and updates the documentation. Tested and seems OK, and documentation has been updated to reflect the change.

As an example of box-and-whisker with no cross-cap, try (change X to Y for vertical):

echo 5 5 2 3 6 9 | gmt plot -R0/10/0/10 -JX4i -EX+p1p+w10p/0 -Sp -Glightblue -W0.5p -Baf -png t

t

By default, the body of the box-and-whisker symbol inherited its size from the error cap width.  This meant it was not possible to set the cap width to zero (i.e., no cap) without loosing the symbol entirely. This PR allows users to set separate dimensions via +wwidth[/cap].  Tested and seems OK, and documentation has been updated to reflect the change.
@PaulWessel PaulWessel added the enhancement Improving an existing feature label Nov 3, 2022
@PaulWessel PaulWessel added this to the 6.5.0 milestone Nov 3, 2022
@PaulWessel PaulWessel self-assigned this Nov 3, 2022
@PaulWessel PaulWessel merged commit fb5ee5a into master Nov 3, 2022
@PaulWessel PaulWessel deleted the bw-separate-values branch November 3, 2022 14:44
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants