Hi, I’m having trouble plotting colored squares using -Ss and a CPT file. The plot only shows the square outline without any fill. If I don’t use -Z , the color bar doesn’t appear. When I add -G+z , the squares are filled, but only in black—not with the CPT colors. The color bar itself displays correctly, so the CPT file and data seem fine. Any idea what I might be missing?
I am using GMT ver 6.3
here is the code
tail -n +4 $finput | awk ‘$3*-1>$7 && $10!=0{ print $1, $2, $10}’|
gmt plot -J$j -R$reg -B -Ss0.15c -C$cptfile1 -Z