<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2002-2-1 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>1.1.15 Overview of GMT 4.0 [Oct-10, 2004]</TITLE> <META NAME="description" CONTENT="1.1.15 Overview of GMT 4.0 [Oct-10, 2004]"> <META NAME="keywords" CONTENT="GMT_Docs"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="GMT_Docs.css"> <LINK REL="previous" HREF="node24.html"> <LINK REL="up" HREF="node10.html"> <LINK REL="next" HREF="node26.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html2846" HREF="node26.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2840" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2836" HREF="node24.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2842" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2844" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2847" HREF="node26.html">2. Introduction</A> <B> Up:</B> <A NAME="tex2html2841" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2837" HREF="node24.html">1.1.14 Overview of GMT</A> <B> <A NAME="tex2html2843" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2845" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION009115000000000000000"> 1.1.15 Overview of </A><A NAME="tex2html836" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4.0 [Oct-10, 2004] </H2> <P> <A NAME="tex2html839" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4 represents a major overhaul of the package, hence the major version number increment. There are four categories of changes that have been implemented: <DL> <DT><STRONG>Time-series support.</STRONG></DT> <DD><A NAME="tex2html840" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> can now read and write time-series data where the time coordinates are of the form <I>date</I><B>T</B><I>clock</I><A NAME="tex2html837" HREF="footnode.html#foot2643"><SUP>1.2</SUP></A>. The formats used for <I>date</I> and <I>clock</I> are under the user's control. Both Gregorian and ISO calendars are supported. Frame annotation for time-series are now supported via the <B>-B</B> option; there are many new modifiers reflecting the vast number of ways one may want to annotate time axes, including support for primary and secondary annotation levels and the day- and month-names in numerous languages (send us the information we need if your language is not supported). The capability to handle time (in <B>-R</B>, <B>-J</B>, <B>-B</B>, i/o, and plotting) required considerable changes ``under the hood'', including the introduction of numerous new <A NAME="tex2html841" HREF="../man/gmtdefaults.html"><I><B>gmtdefaults</B></I></A><A NAME="6713"></A> parameters to make the time series support as ``generic'' as we need it to be. </DD> <DT><STRONG>New Tools.</STRONG></DT> <DD>Three new tools have been added: <OL> <LI><A NAME="tex2html842" HREF="../man/gmt2rgb.html"><I><B>gmt2rgb</B></I></A><A NAME="6718"></A>: Makes red, green, and blue component grid files from an image (to be used with new options for false color imaging or image draping by <A NAME="tex2html843" HREF="../man/grdimage.html"><I><B>grdimage</B></I></A><A NAME="6723"></A> or <A NAME="tex2html844" HREF="../man/grdview.html"><I><B>grdview</B></I></A><A NAME="6728"></A>). </LI> <LI><A NAME="tex2html845" HREF="../man/grdblend.html"><I><B>grdblend</B></I></A><A NAME="6733"></A>: Blends several partially over-lapping grid files into one combined grid. Output grid is written one row at the time so truly enormous grids can be created. </LI> <LI><A NAME="tex2html846" HREF="../man/pslegend.html"><I><B>pslegend</B></I></A><A NAME="6738"></A>: Designs and plots elaborate legends on maps. </LI> </OL> </DD> <DT><STRONG>New Program Options.</STRONG></DT> <DD>Many programs have received additional options or features that enhances their usefulness: <UL> <LI><A NAME="tex2html847" HREF="../man/blockmean.html"><I><B>blockmean</B></I></A><A NAME="6743"></A>: New option <B>-Sw</B> will return weight sum while <B>-Sz</B> returns the data sums (<I>i.e.</I>, it duplicates the previous <B>-S</B> option). </LI> <LI><A NAME="tex2html848" HREF="../man/filter1d.html"><I><B>filter1d</B></I></A><A NAME="6751"></A>: New filters <B>-Fl<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">L<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">u<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">U</B> that return extreme (min, max) values. </LI> <LI><A NAME="tex2html849" HREF="../man/gmtconvert.html"><I><B>gmtconvert</B></I></A><A NAME="6757"></A>: Added new options <B>-F</B>, <B>-A</B>, and <B>-I</B> that simulate <I>UNIX</I> <I>cut</I><A NAME="6765"></A>, <I>paste</I><A NAME="6768"></A>, and <I>tail</I><A NAME="6771"></A> <B>-r</B> (or <I>tac</I><A NAME="6775"></A>) capabilities. Option <B>-E</B> reports first and last point per segment only, <B>-L</B> lists the segment headers only, while <B>-S</B> lists records from segments whose header matches a given text pattern. </LI> <LI><A NAME="tex2html850" HREF="../man/gmtmath.html"><I><B>gmtmath</B></I></A><A NAME="6782"></A>: Added new operators for solving least squares problems (<B>COL, LSQFIT</B>), finding function roots (<B>ROOTS</B>), and evaluating critical values (<B>CHICRIT, FCRIT, TCRIT, ZCRIT</B>). We also added some general functions (<B>SINC, LOG2, LRAND</B>) and miscellaneous operations (<B>FLIPUD, NEQ</B>). The <B>-S</B> option may now take a modifier to select first or last record only. </LI> <LI><A NAME="tex2html851" HREF="../man/gmtselect.html"><I><B>gmtselect</B></I></A><A NAME="6788"></A>: New option <B>-Z</B> to pass or skip based on input <IMG WIDTH="10" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img20.png" ALT="$z$">-range. </LI> <LI><A NAME="tex2html852" HREF="../man/grd2cpt.html"><I><B>grd2cpt</B></I></A><A NAME="6794"></A>: New options <B>-Q</B> for logarithmic scales, <B>-E</B> for equidistant color intervals, <B>-R</B> for selecting a grid sub-region, and <B>-N</B> to suppress output of B, F, N colors<A NAME="tex2html838" HREF="footnode.html#foot2527"><SUP>1.3</SUP></A>. </LI> <LI><A NAME="tex2html853" HREF="../man/grd2xyz.html"><I><B>grd2xyz</B></I></A><A NAME="6803"></A>: New option <B>-W</B> to write a constant weight factor as a 4th output column, and ability to process several grid files at the same time. </LI> <LI><A NAME="tex2html854" HREF="../man/grdcontour.html"><I><B>grdcontour</B></I></A><A NAME="6809"></A>: Expanded the <B>-G</B> option to handle 5 algorithms (4 new) for the placement of contour labels. </LI> <LI><A NAME="tex2html855" HREF="../man/grdedit.html"><I><B>grdedit</B></I></A><A NAME="6815"></A>: New option <B>-N</B> to replace selected node values given <I>x, y, z</I> data in table form (options <B>-H</B>, <B>-b</B>, <B>-f</B>, and <B>-:</B> added for file support). </LI> <LI><A NAME="tex2html856" HREF="../man/grdfilter.html"><I><B>grdfilter</B></I></A><A NAME="6825"></A>: New geospatial filters <B>-Fl<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">L<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">u<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">U</B> that return extreme (min, max) values. </LI> <LI><A NAME="tex2html857" HREF="../man/grdimage.html"><I><B>grdimage</B></I></A><A NAME="6831"></A>: New option for colormasking (<B>-Q</B>; <I>PostScript</I> Level 3 only), <I>PostScript</I> image interpolation (<B>-E</B><I>-dpi</I>), and false RGB color image (when given three grids), as well as a modifier to <B>-T</B> to draw tile outlines. </LI> <LI><A NAME="tex2html858" HREF="../man/grdinfo.html"><I><B>grdinfo</B></I></A><A NAME="6841"></A>: New option to create argument for <A NAME="tex2html859" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="6846"></A> (<B>-T</B>) and to round-off region boundary coordinates (<B>-I</B>). </LI> <LI><A NAME="tex2html860" HREF="../man/grdmath.html"><I><B>grdmath</B></I></A><A NAME="6853"></A>: Added new operators for critical values (<B>CHICRIT, FCRIT, TCRIT, ZCRIT</B>), geospatial analysis (<B>LDIST, PDIST, INSIDE</B>) and for calculating azimuths (<B>CAS, SAZ</B>). We have also added some general functions (<B>SINC, LOG2, LRAND</B>) and a few grid operations (<B>FLIPLR, FLIPUD, ROTX, ROTY, NEQ, INRANGE</B>). We may now create multiple output grids from a single command. </LI> <LI><A NAME="tex2html861" HREF="../man/grdproject.html"><I><B>grdproject</B></I></A><A NAME="6858"></A>: Option to supply false easting/northing or other offsets from the origin(<B>-C</B>). </LI> <LI><A NAME="tex2html862" HREF="../man/grdreformat.html"><I><B>grdreformat</B></I></A><A NAME="6864"></A>: Option to suppress header in raw output (<B>-N</B>). </LI> <LI><A NAME="tex2html863" HREF="../man/grdsample.html"><I><B>grdsample</B></I></A><A NAME="6870"></A>: Option to push the bilinear interpolation closer to nodes that are NaN (<B>-Q</B>). </LI> <LI><A NAME="tex2html864" HREF="../man/grdtrack.html"><I><B>grdtrack</B></I></A><A NAME="6876"></A>: Options to retrieve nearest node value (<B>-N</B>, no interpolation) and to push the bilinear interpolation closer to nodes that are NaN (<B>-Q</B>). </LI> <LI><A NAME="tex2html865" HREF="../man/grdview.html"><I><B>grdview</B></I></A><A NAME="6883"></A>: Colormasking (<B>-Qc</B>, PS Level 3 only), draping of images via red, green, and blue component grids (<B>-G</B>). Also, drapegrids can have higher resolution than the relief grid, and we added a modifier to <B>-T</B> to draw tile outlines. </LI> <LI><A NAME="tex2html866" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="6891"></A>: New options <B>-Q</B> for logarithmic scales and <B>-N</B> to suppress output of B, F, N colors. </LI> <LI><A NAME="tex2html867" HREF="../man/mapproject.html"><I><B>mapproject</B></I></A><A NAME="6898"></A>: New options for datum conversions (<B>-T</B>, <B>-E</B>, and <B>-Q</B>), azimuth and back-azimuth (<B>-A</B>), distance to point (<B>-G</B>) and line (<B>-L</B>)calculations, and optional false easting/northing (<B>-C</B>). </LI> <LI><A NAME="tex2html868" HREF="../man/minmax.html"><I><B>minmax</B></I></A><A NAME="6910"></A>: Added <B>-T</B><I>dz</I> option to produce <B>-T</B> string for <A NAME="tex2html869" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="6917"></A>, <B>-E</B> for returning extreme records, and the <B>-I</B> option was extended to handle any number of columns when <B>-C</B> is used. </LI> <LI><A NAME="tex2html870" HREF="../man/psbasemap.html"><I><B>psbasemap</B></I></A><A NAME="6925"></A>: Extended <B>-L</B> to allow alternate label and justification, and added <B>-T</B> for directional rose ornament or magnetic compass directions. </LI> <LI><A NAME="tex2html871" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="6932"></A>: Extended <B>-L</B> to allow alternate label and justification, and added <B>-T</B> for directional rose ornament or magnetic compass directions. </LI> <LI><A NAME="tex2html872" HREF="../man/pscontour.html"><I><B>pscontour</B></I></A><A NAME="6939"></A>: Expanded the <B>-G</B> option to handle 5 algorithms (4 new) for the placement of contour labels. </LI> <LI><A NAME="tex2html873" HREF="../man/psimage.html"><I><B>psimage</B></I></A><A NAME="6945"></A>: <I>PostScript</I> image interpolation (<B>-W</B><I>-xlength</I>), and justification option in <B>-C</B>. </LI> <LI><A NAME="tex2html874" HREF="../man/psscale.html"><I><B>psscale</B></I></A><A NAME="6953"></A>: Options to annotate on opposite side (<B>-A</B>) and to plot back or foreground triangle only (<B>-E</B>[<B>b<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">f</B>] ). Also, draw discrete color-key table with centered annotations by appending an optional <I>gap</I> to the <B>-L</B> option. </LI> <LI><A NAME="tex2html875" HREF="../man/pstext.html"><I><B>pstext</B></I></A><A NAME="6961"></A>: New option <B>-A</B> should azimuths rather than angles be given, </LI> <LI><A NAME="tex2html876" HREF="../man/psxy.html"><I><B>psxy</B></I></A><A NAME="6967"></A>: Line color control (via <B>-C</B>), symbol position offset (with <B>-D</B>), custom symbols access (with <B>-Sk</B>; use any of the 35 (Appendix <A HREF="node238.html#app:N">N</A>) that come with <A NAME="tex2html877" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> or design your own), many new symbols (horizontal and vertical dashes, pentagon, octagon, rectangle, double-headed and centered vectors), and annotated (``quoted'') lines with <B>-Sq</B>. </LI> <LI><A NAME="tex2html878" HREF="../man/psxyz.html"><I><B>psxyz</B></I></A><A NAME="6979"></A>: Same, plus a vertical dash symbol. </LI> <LI><A NAME="tex2html879" HREF="../man/xyz2grd.html"><I><B>xyz2grd</B></I></A><A NAME="6984"></A>: Added <B>-Au<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">l</B> for upper/lower value at each node. </LI> </UL> </DD> <DT><STRONG>General enhancements.</STRONG></DT> <DD>These affect most of the programs: <UL> <LI>The coastline data have been updated to GSHHS version 1.3. About 50 or so polygons had lingering crossovers and some had duplicate points or failed to close; these have now been fixed. Major errors in the Puget Sound coastline have also been corrected. </LI> <LI>New shorthand to repeat the most recently used projection (<B>-J</B>). </LI> <LI>Options for phase-shifting the stride and supplying a prefix for frame annotations (<B>-B</B>). </LI> <LI>Override <A NAME="tex2html880" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> defaults directly on the command line with any number of --<I>PAR=value</I> options. </LI> <LI>Now choose from 63 ellipsoids and 223 datums, or use your own values. </LI> <LI>Numerous new <A NAME="tex2html881" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> defaults parameters, mostly in support of time-series functionality. </LI> <LI>Shorthand for global regions (<B>-Rg</B> for <B>-R</B>0/360/-90/90 and <B>-Rd</B> for <B>-R</B>-180/180/-90/90). </LI> <LI>Full support for either RGB, HSV, or CMYK in pen/fill command-line options or in cpt files. </LI> <LI>Support for English color names (e.g., red, lightbrown). </LI> <LI>Choice of unit when specifying pen thickness (cm, inch, point). </LI> <LI>Easier pen specification mechanism, with predefined names for certain pen thicknesses. </LI> <LI>Centering of plots on current page with <B>-Xc</B>, <B>-Yc</B>. </LI> <LI>More control over input/output table formats (<B>-f</B>, <B>-:</B>[<B>i<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">o</B>]). </LI> <LI>Ability to read and write NOAA/NGDC GRD98 grid format. </LI> <LI>Ability to add additional fonts. </LI> <LI>Custom paper media size (useful for posters and large maps). </LI> <LI>All text are now justified by the <I>PostScript</I> interpreter, as is the clipping of contours and ``quoted lines'' to make space for annotation labels. </LI> <LI>Better support for various international character encodings. </LI> <LI>New Appendices M (color tables), N (custom symbols), O (contours and ``quoted lines''), and P (using both <A NAME="tex2html882" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 3 and 4). </LI> <LI>New hidden files <U>.gmtdefaults4</U> and <U>.gmtcommands4</U> to ensure peaceful coexistence with <A NAME="tex2html883" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 3-series. </LI> <LI>Data files in directories pointed to by the three environmental parameters <B>$GMT_DATADIR</B>, <B>$GMT_GRIDDIR</B>, and <B>$GMT_IMGDIR</B> can be specified without their full path names when used as input files. </LI> <LI>We have added five new examples for a total of 25. </LI> <LI>Bourne shell utility <I>gmtswitch</I><A NAME="7014"></A> simplifies switching between installed <A NAME="tex2html884" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> versions. </LI> </UL> </DD> </DL> <HR> <!--Navigation Panel--> <A NAME="tex2html2846" HREF="node26.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2840" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2836" HREF="node24.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2842" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2844" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2847" HREF="node26.html">2. Introduction</A> <B> Up:</B> <A NAME="tex2html2841" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2837" HREF="node24.html">1.1.14 Overview of GMT</A> <B> <A NAME="tex2html2843" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2845" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>