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
I think that the fix did not extend to auto-legend making with -l. For example:
Works
gmt psxy -JM4i -R0/10/0/10 -B2 -S -K > custom.ps << EOF
2 5 1c kcross
5 5 1c a
7 5 1c t
EOF
gmt pslegend -J -R -F+p1p -DjBR+w1.2i+o0.2c/0.2c -O << EOF >> custom.ps
S 0.2c kcross 0.15i blue 0.5p 1c cross
S 0.2c a 0.15i red 0.5p 1c capital
S 0.2c t 0.15i green 0.5p 1c station
EOF
Doesn't work
gmt begin test png
echo 1 1 | gmt plot -Skltriangle/0.1i -B -R0/2/0/2 -JX2i -l"ltriangle"
# gmt legend -DjTR+o0.5c -F+pthick+ithinner+gwhite
gmt end show
Works
gmt begin test2 png
echo 1 1 | gmt plot -Skltriangle/0.1i -B -R0/2/0/2 -JX2i
echo S 0.2c kltriangle 0.1i white 0.5 1c ltriangle | gmt legend -DjTR+o0.5c -F+pthick+ithinner+gwhite
gmt end show
Activity
pslegend could not plot custom symbol
pslegend could not plot custom symbol (#450)
seisman commentedon Feb 27, 2019
Fixed in #450.
liamtoney commentedon Feb 8, 2022
I'm running into this issue using PyGMT. Posting here as I see an issue...
gives this error:
and no legend appears.
PyGMT version info:
maxrjones commentedon Feb 8, 2022
I think that the fix did not extend to auto-legend making with
-l. For example:Works
Doesn't work
Works
liamtoney commentedon Feb 8, 2022
That would make sense. Thanks @meghanrjones.