<!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="node237.html"> <LINK REL="previous" HREF="node235.html"> <LINK REL="up" HREF="node235.html"> <LINK REL="next" HREF="node237.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html6021" HREF="node237.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html6015" HREF="node235.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html6009" HREF="node235.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html6017" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html6019" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html6022" HREF="node237.html">M.2 Labeled and non-equidistant</A> <B> Up:</B> <A NAME="tex2html6016" HREF="node235.html">M. Of colors and</A> <B> Previous:</B> <A NAME="tex2html6010" HREF="node235.html">M. Of colors and</A> <B> <A NAME="tex2html6018" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html6020" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H1><A NAME="SECTION003010000000000000000"></A> <A NAME="33021"></A> <A NAME="33022"></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="tex2html1908" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="33053"></A> and <A NAME="tex2html1909" HREF="../man/grd2cpt.html"><I><B>grd2cpt</B></I></A><A NAME="33058"></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 are built by using <A NAME="tex2html1910" HREF="../man/makecpt.html"><I><B>makecpt</B></I></A><A NAME="33063"></A> <B>-T-1/1/0.25</B>, thus splitting the color scale into 8 discrete colors. <P> <DIV ALIGN="CENTER"><A NAME="fig:GMT_App_M_1"></A><A NAME="33032"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure:</STRONG> The standard 22 cpt files supported by <A NAME="tex2html1905" 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="tex2html6021" HREF="node237.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html6015" HREF="node235.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html6009" HREF="node235.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html6017" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html6019" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html6022" HREF="node237.html">M.2 Labeled and non-equidistant</A> <B> Up:</B> <A NAME="tex2html6016" HREF="node235.html">M. Of colors and</A> <B> Previous:</B> <A NAME="tex2html6010" HREF="node235.html">M. Of colors and</A> <B> <A NAME="tex2html6018" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html6020" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>