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
As reported on the forum, inset used in subplot panels fails in terms of placement. Clearly the -Dj setting is computing strange placement coordinates. In the original post, the BR box was plotted way to the right and later covered up by other plots.
A simple example contrasts plain inset versus inset inside a panel:
#!/bin/bash
# Shows problem with inset within subplot panel
gmt begin
gmt figure inset_in_panel png
gmt subplot begin 1x1 -Fs5c/4c -A
gmt subplot set 0
gmt coast -R70/138/13/56 -Glightgray -B
gmt inset begin -DjTL+w0.5c/0.8c+o0.1c -F+p1p,red
gmt inset end
gmt subplot end
gmt figure plain_inset png
gmt coast -R70/138/13/56 -Glightgray -B -JQ5c
gmt inset begin -DjTL+w0.5c/0.8c+o0.1c -F+p1p,red
gmt inset end
gmt end show
Only showing the failing inset_in_panel plot here (the other is fine):
Activity
gd-a commentedon Mar 8, 2022
Related to #6288 no?
seisman commentedon May 14, 2022
I had the same problem today. Ping @PaulWessel just in case you forgot it.
PaulWessel commentedon May 16, 2022
Not truly forgotten, but on the road...
seisman commentedon May 27, 2022
Here is another example that doens't work as expected: