Mikhail Tchernychev
2014-06-26 20:50:34 UTC
Hi,
I am lost. I am trying to adjust pstext calls to the new 5.1.1 style but it seems
it does not understand it at all.
Here is the script:
#/usr/bin/bash
output=test.ps
gmt pstext -R-10/10/-10/10 -Jx1 <<END > $output
0 3 18p,Helvetica 45 LB Old targets
END
It supposed to draw text at (0,3) with 18p Helvetica font
at 45 degrees, but it draws string "8p,Helvetica 45 LB Old targets"
instead.
How pstext recognizes new format?
It supposed to be
x, y[, font, angle, justify], text
But it does not work no matter what.
Old format works, but gives warning messages.
Best Regards,
Mikhail Tchernychev
Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
I am lost. I am trying to adjust pstext calls to the new 5.1.1 style but it seems
it does not understand it at all.
Here is the script:
#/usr/bin/bash
output=test.ps
gmt pstext -R-10/10/-10/10 -Jx1 <<END > $output
0 3 18p,Helvetica 45 LB Old targets
END
It supposed to draw text at (0,3) with 18p Helvetica font
at 45 degrees, but it draws string "8p,Helvetica 45 LB Old targets"
instead.
How pstext recognizes new format?
It supposed to be
x, y[, font, angle, justify], text
But it does not work no matter what.
Old format works, but gives warning messages.
Best Regards,
Mikhail Tchernychev
Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.