Using pslegend
Shahar Barak <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <CAL6UvMo+N-q1JA8YHjXHrWRcEbL8dwR0Scf0LckrYY+ydnqw1Q@mail.gmail.com> |
Hi,
I have two issues:
1. My pslegend command has the box and the text at different places. See
image below:
[image: Inline image 2]
The white box is at the top of the figure (where I want it) while the text
"text" is in the bottom of the figure.
My script is:
cat > legend.gmt << EOF
H 12 - text
EOF
gmt pslegend legend.gmt -D2.88/4/1/12p/BC -J -R -F+gwhite -K -O >>
${ps_file}
Also, I don't see a frame around the white box.
2. I don't understand from the documentation how to pipe the text into
pslegend.
When I do:
echo "T some text" | gmt pslegend ...
I get:
pstext: Text record line 0 not preceded by paragraph information, skipped)
I also tried:
echo "P\n T some text" | gmt pslegend ...
and I get:
pslegend: Error: Unrecognized record ( T some text)
What do I need to do?
Thanks,
Shahar
To unsubscribe, send the message "signoff gmt-help" to [email protected]
image.png
(image/png, 14 KB) - not displayed