Re: how to use new text style in pstext?
Marcelo Banik <[email protected]> Thu, 26 Jun 2014 18:09:20 -0300
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <CAN-U1_awwoDXvBy-VA0bz1dyJuvCCDFv5Vd4Jn=ymhd8YZrSRw@mail.gmail.com> |
Hi Mikhail, You must to include option -F+f+a+j Try: gmt pstext -F+f+a+j -R-10/10/-10/10 -Jx1 <<END > $output 0 3 18p,Helvetica 45 LB Old targets END Regards, Marcelo PS: sending again, including gmt list. On Thu, Jun 26, 2014 at 5:50 PM, Mikhail Tchernychev < [email protected]> wrote: > 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 > [email protected] Note: gmt-help will become obsolete on Sept 1, > 2014 - please use forum on gmt.soest.hawaii.edu instead. 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 [email protected] Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.