You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+c: used to append the raw GMT command (e.g., gmt coast -R... -J...) after the timestamp logo. It's not implemented because (1) It's rarely used. A figure is usually produced by multiple commands, so it makes no sense to show the command string of a single command; (2) It makes little sense to show the raw GMT command string for a figure produced by a Python script; (3) It's also impossible to implement it in the Figure.timestamp() function. [Unimplemented]
For GMT<=6.4.0, FONT_LOGO can only change the font ID, but since GMT 6.5.0, it can also change both the font ID and color (but not the font size). See Allow FONT_LOGO to change font color gmt#7125
Uh oh!
There was an error while loading. Please reload this page.
The
Figure.timestamp
method is a high-level wrapper for GMT's common option-U
. With this method, we should disallow-U
option in all plotting method.The syntax of
-U
The full syntax of the
-U
option is:label
: The label after the GMT timestamp logo [Add Figure.timestamp to plot the GMT timestamp logo #2208]+c
: used to append the raw GMT command (e.g.,gmt coast -R... -J...
) after the timestamp logo. It's not implemented because (1) It's rarely used. A figure is usually produced by multiple commands, so it makes no sense to show the command string of a single command; (2) It makes little sense to show the raw GMT command string for a figure produced by a Python script; (3) It's also impossible to implement it in theFigure.timestamp()
function. [Unimplemented]+j<just>
: The justification of the timestamp logo [Add Figure.timestamp to plot the GMT timestamp logo #2208]+o<dx>/<dy>
: timestamp offset [Add Figure.timestamp to plot the GMT timestamp logo #2208]+t<text>
: The text string in the GMT logo, added in GMT 6.5.0 [Add Figure.timestamp to plot the GMT timestamp logo #2208]There are four GMT defaults that can affect the timestamp logo.
[Not implmented since it makes no sense here]MAP_LOGO
: controls if a timestamp logo should be plotted[Already implmented]MAP_LOGO_POS
: defaults toBL/-54p/-54p
. It's equivalent to setting the+j
and+o
modifiers.FONT_LOGO
can control the font ID of the text strings. It's implemented by passing--FONT_LOGO=xxx
to the GMT C API. [Add Figure.timestamp to plot the GMT timestamp logo #2208]FORMAT_TIME_STAMP
can control the format of the timestamp. It's implemented by passing--FORMAT_TIME_STAMP
to the GMT C API. [Add Figure.timestamp to plot the GMT timestamp logo #2208]Function signature
Implementation notes
gmt plot -T -U...
+o
modifier for GMT <=6.4.0 (-U doesn't work with a single offset value gmt#7107).FONT_LOGO
can only change the font ID, but since GMT 6.5.0, it can also change both the font ID and color (but not the font size). See Allow FONT_LOGO to change font color gmt#7125+t
will be added. See Allow FONT_LOGO to change font color gmt#7125.Issues to track
The text was updated successfully, but these errors were encountered: