GenericMappingTools / GenericMappingTools/gmt
MAP_LOGO doesn't work as documented
- Dominant language
- C
- Stars
- 979
- Forks
- 414
- Avg merge
- 17h 26m
- Merged PRs (30d)
- 54
Description
**Description of the problem**
Here is what the documentation says:
```
MAP_LOGO
(-U) Specifies if a GMT logo with system timestamp should be plotted at the lower left corner of the plot [false].
```
As per the documentation, the following script should plot a GMT timestamp:
```
gmt set MAP_LOGO true
gmt psbasemap -R0/10/0/5 -JX10c/3c -Bx1 -By1 > map.ps
```
but it doesn't. It looks like a bug, but when we set MAP_LOGO to true, we definitely don't want to plot the timestamp for each plotting command. Maybe add the timestamp only for the first plot command (if GMT knows if the current command is the first one)?
The following command works:
```
gmt psbasemap -R0/10/0/5 -JX10c/3c -Bx1 -By1 --MAP_LOGO=true > map.ps
```
but in this case, we can just use -U, which is much simpler.
Contributor guide
Assessment
This issue has not been assessed yet.