<!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>M.1 Built-in color palette tables</TITLE> <META NAME="description" CONTENT="M.1 Built-in color palette tables"> <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="next" HREF="node236.html"> <LINK REL="previous" HREF="node234.html"> <LINK REL="up" HREF="node234.html"> <LINK REL="next" HREF="node236.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html5973" HREF="node236.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5967" HREF="node234.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5961" HREF="node234.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5969" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5971" HREF="node255.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5974" HREF="node236.html">M.2 Labeled and non-equidistant</A> <B> Up:</B> <A NAME="tex2html5968" HREF="node234.html">M. Of colors and</A> <B> Previous:</B> <A NAME="tex2html5962" HREF="node234.html">M. Of colors and</A> <B> <A NAME="tex2html5970" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5972" HREF="node255.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION003010000000000000000"></A> <A NAME="32432"></A> <A NAME="32433"></A> <BR> M.1 Built-in color palette tables </H1> <P> Figure <A HREF="#fig:GMT_App_M_1">M.1</A> shows each of the 22 built-in color palettes, stored in so-called cpt tables. The programs <A NAME="tex2html1878" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="32464"></A> and <A NAME="tex2html1879" HREF="../man/grd2cpt.html"><I><B>grd2cpt</B></I></A><A NAME="32469"></A> are used to access these master cpt tables and translate/scale them to fit the user's range of <IMG WIDTH="10" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img20.png" ALT="$z$">-values. The top half of the color bars in the Figure shows the original color scale, which can be either discrete or continuous, though some (like <B>globe</B>) are a mix of the two. The bottom half the color bar is an example of a discrete color scale build by using <A NAME="tex2html1880" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="32474"></A> <B>-T-1/1/0.25</B>. <P> <DIV ALIGN="CENTER"><A NAME="fig:GMT_App_M_1"></A><A NAME="32443"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG> The standard 22 cpt files supported by <A NAME="tex2html1875" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A>.</CAPTION> <TR><TD> <DIV ALIGN="CENTER"><IMG WIDTH="555" HEIGHT="628" ALIGN="BOTTOM" BORDER="0" SRC="img287.png" ALT="\includegraphics[width=\textwidth]{scripts/GMT_App_M_1}"> </DIV></TD></TR> </TABLE> </DIV> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html5973" HREF="node236.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html5967" HREF="node234.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html5961" HREF="node234.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html5969" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html5971" HREF="node255.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html5974" HREF="node236.html">M.2 Labeled and non-equidistant</A> <B> Up:</B> <A NAME="tex2html5968" HREF="node234.html">M. Of colors and</A> <B> Previous:</B> <A NAME="tex2html5962" HREF="node234.html">M. Of colors and</A> <B> <A NAME="tex2html5970" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html5972" HREF="node255.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-01-14 </ADDRESS> </BODY> </HTML>