Bug with -T option in psbasemap or pscoast commands ?
|Target version:||Candidate for next bugfix release|
|Affected version:||5.3.1||Platform:||Mac OS X|
I want to plot a map rose with pscoast or psbasemap that shows only the N label. According to GMT 5.3.1 user manual, I wrote :
but the compilation says :
pscoast: Syntax error -T option: 4 Labels must be given via modifier +lw,e,s,n
So I can have a rose with 4 labels (with +l), or no label at all (default, without the +l option), but not with only one or two labels.
However, GMT manual says :
You can replace these labels with four custom labels via +lw,e,s,n, i.e., four comma-separated labels in the specified order. You can exclude any of the cardinal points from being labeled by giving no label in the corresponding order. E.g., +l”,,Down,Up” would write Down and Up at the south and north cardinal point, respectively.
I try also with psbasemap command, with the same results.
So it seems to be a bug.
#1 Updated by Paul almost 2 years ago
- Status changed from New to In Progress
- Assignee set to Paul
- Target version set to Candidate for next bugfix release
I can confirm that +l,,Up,Down" fails. It seems to expect +l-,-,Up,Down" so that is your workaround for now. I will work on this to allow the missing items as well.