Re: Title in GMT 5?
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Try spaces or tabs instead of those commas On Jan 27, 2014, at 12:16 PM, Shahar Barak <[email protected]> wrote: > My $title is "-114,37,test". > The coordinates are the center of the figure. Shouldn't that work? > I'm not sure how to interpret the error in order to understand what's the problem. > > > > > > On Fri, Jan 24, 2014 at 11:58 AM, Paul Wessel <[email protected]> wrote: > Well, you do have to look at the documentation to see what pstext expects. I cannot read that for you. Even if you just type > > pstext - > > you will at least be told the input format is > > Reads (x,y[,fontinfo,angle,justify],text) from <table> [or stdin]. > > so clearly you will need to specify the lon, lat coordinates, and if plotting outside the -R then you also need -N; see the pstext man page. > > -p > > On Jan 24, 2014, at 9:53 AM, Shahar Barak <[email protected]> wrote: > > > I am having trouble understanding how to place the text where I want it, centered above the figure. > > My figure is a map with lat/lon coordinates. > > If I don't use any special options: > > echo ${title} | gmt pstext -J -R -K -O >> ${ps_file} > > I get: > > pstext: Record 0 had bad x coordinate, skipped) > > pstext: Record 0 had bad y coordinate, skipped) > > > > I'm not sure what that means. > > > > > > On Wed, Jan 22, 2014 at 2:58 PM, Paul Wessel <[email protected]> wrote: > > Hi Shahar- > > > > You can either place a 1-line title via -B+t"my title" or place text (even wrapped and multi-line) with pstext. > > -p > > > > On Jan 22, 2014, at 11:54 AM, Shahar Barak <[email protected]> wrote: > > > > > Hi, > > > > > > What would be the best way to insert a title above a figure in GMT 5? > > > Is there away to have a title with a line break (for a long title) or automatic wrapping? > > > > > > Thanks, > > > > > > Shahar > > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > > > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > > > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > > To unsubscribe, send the message "signoff gmt-help" to [email protected] To unsubscribe, send the message "signoff gmt-help" to [email protected]