<!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>H.4 Hints</TITLE> <META NAME="description" CONTENT="H.4 Hints"> <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="node206.html"> <LINK REL="up" HREF="node203.html"> <LINK REL="next" HREF="node208.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html5593" HREF="node208.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5587" HREF="node203.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5583" HREF="node206.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5589" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5591" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5594" HREF="node208.html">I. Color Space: The</A> <B> Up:</B> <A NAME="tex2html5588" HREF="node203.html">H. Problems with display</A> <B> Previous:</B> <A NAME="tex2html5584" HREF="node206.html">H.3 European characters</A> <B> <A NAME="tex2html5590" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5592" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION002540000000000000000"> H.4 Hints</A> </H1> <A NAME="31214"></A> <P> When making images and perspective views of large amounts of data, the <A NAME="tex2html1785" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> programs can take some time to run, the resulting <I>PostScript</I> files can be very large, and the time to display the plot can be long. Fine tuning a plot script can take lots of trial and error. We recommend using <A NAME="tex2html1786" HREF="../man/grdsample.html"><I><B>grdsample</B></I></A><A NAME="31424"></A> to make a low resolution version of the data files you are plotting, and practice with that, so it is faster; when the script is perfect, use the full-resolution data files. We often begin building a script using only <A NAME="tex2html1787" HREF="../man/psbasemap.html"><I><B>psbasemap</B></I></A><A NAME="31429"></A> or <A NAME="tex2html1788" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="31434"></A> to get the various plots oriented correctly on the page; once this works we replace the <A NAME="tex2html1789" HREF="../man/psbasemap.html"><I><B>psbasemap</B></I></A><A NAME="31439"></A> calls with the actually desired <A NAME="tex2html1790" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> programs. <P> If you want to make color shaded relief images and you haven't had much experience with it, here is a good first cut at the problem: Set your <B>COLOR_MODEL</B> to HSV using <A NAME="tex2html1791" HREF="../man/gmtset.html"><I><B>gmtset</B></I></A><A NAME="31447"></A>. Use <A NAME="tex2html1792" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="31452"></A> or <A NAME="tex2html1793" HREF="../man/grd2cpt.html"><I><B>grd2cpt</B></I></A><A NAME="31457"></A> to make a continuous color palette spanning the range of your data. Use the <B>-Nt</B> option on <A NAME="tex2html1794" HREF="../man/grdgradient.html"><I><B>grdgradient</B></I></A><A NAME="31463"></A>. Try the result, and then play with the tuning of the <U>.gmtdefaults4</U>, the cpt file, and the gradient file. <HR> <!--Navigation Panel--> <A NAME="tex2html5593" HREF="node208.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5587" HREF="node203.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5583" HREF="node206.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5589" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5591" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5594" HREF="node208.html">I. Color Space: The</A> <B> Up:</B> <A NAME="tex2html5588" HREF="node203.html">H. Problems with display</A> <B> Previous:</B> <A NAME="tex2html5584" HREF="node206.html">H.3 European characters</A> <B> <A NAME="tex2html5590" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5592" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>