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
{{ message }}
Repository navigation
Hickup in subplots messes up on panel and missing the last #7787
I was testing a loop/subplot script to explore how to automatically set the line width in symbols that are not filled (e.g., crossed) but ran into this bug:
#!/usr/bin/env bash
# Test automatic pen selection via size for symbols, such as cross
# that are not filled but stroked.
gmt begin line_symbols png
gmt set GMT_THEME cookbook
echo 0 0 > t.txt
gmt subplot begin 5x3 -Fs5c -R-2/2/-2/2 -Srl -Sct -A
for size in 2p 4p 6p 8p 10p 12p 14p 16p 18p 20p 22p 24p 26p 28p 30p 32p ; do
gmt subplot set -A${size}
gmt plot t.txt -Sc${size} -W1p -V
done
gmt subplot end
gmt end show
Bituce the two symbols in row 3 col 1 and the missing label at the last:
I get these errors:
gmt [ERROR]: Selected current panel (5,0) exceeds dimension of current subplot (5x3)
gmt [ERROR]: Note: Subplot panel first index starts at 0 or 0,0
subplot [ERROR]: Selected current panel (5,0) exceeds dimension of current subplot (5x3)
subplot [ERROR]: Note: Subplot panel first index starts at 0 or 0,0
subplot [ERROR]: No subplot information file!
end [WARNING]: subplot was never completed - plot items in last panel may be missing
Activity
seisman commentedon Sep 5, 2023
Yes, I can reproduce the issue, but have no idea why it doesn't work. In the verbose messages, I see
Does
-JX15c/15cmakes sense here?PaulWessel commentedon Sep 5, 2023
No. That is odd. I will study the -Vd log to see what else is happening.
PaulWessel commentedon Sep 5, 2023
Nothing to see here - looping over 16 panels when there are only 15...
Sorry, closing