<!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>4.4.3.2 Cartesian linear axes</TITLE> <META NAME="description" CONTENT="4.4.3.2 Cartesian linear axes"> <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="node45.html"> <LINK REL="previous" HREF="node43.html"> <LINK REL="up" HREF="node42.html"> <LINK REL="next" HREF="node45.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html3254" HREF="node45.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3248" HREF="node42.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3242" HREF="node43.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3250" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3252" HREF="node258.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3255" HREF="node45.html">4.4.3.3 Cartesian log axes</A> <B> Up:</B> <A NAME="tex2html3249" HREF="node42.html">4.4.3 Map frame and</A> <B> Previous:</B> <A NAME="tex2html3243" HREF="node43.html">4.4.3.1 Geographic basemaps</A> <B> <A NAME="tex2html3251" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3253" HREF="node258.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION001243200000000000000"></A> <A NAME="18165"></A> <A NAME="18166"></A> <BR> 4.4.3.2 Cartesian linear axes </H3> <P> For non-geographic axes, the <B>BASEMAP_TYPE</B> setting is implicitly set to plain. Other than that, cartesian linear axes are very similar to geographic axes. The annotation format may be controlled with the <B>D_FORMAT</B> parameter. By default, it is set to ``%g'', which is a C language format statement for floating point numbers<A NAME="tex2html1188" HREF="footnode.html#foot19158"><SUP>4.7</SUP></A>, and with this setting the various axis routines will automatically determine how many decimal points should be used by inspecting the <I>stride</I> settings. If <B>D_FORMAT</B> is set to another format it will be used directly (.e.g, ``%.2f'' for a fixed, two decimals format). Note that for these axes you may use the <I>unit</I> setting to add a unit string to each annotation (see Figure <A HREF="#fig:GMT_-B_linear">4.8</A>). <P> <DIV ALIGN="CENTER"><A NAME="fig:GMT_-B_linear"></A><A NAME="19490"></A> <TABLE> <CAPTION ALIGN="BOTTOM"><STRONG>Figure 4.8:</STRONG> Linear Cartesian projection axis. Long tickmarks accompany annotations, shorter ticks indicate frame interval. The axis label is optional. We used <B>-R</B>0/12/0/1 <B>-JX</B>3/0.4 <B>-Ba</B>4<B>f</B>2<B>g</B>1:Frequency::,%:.</CAPTION> <TR><TD> <DIV ALIGN="CENTER"><IMG WIDTH="376" HEIGHT="106" ALIGN="BOTTOM" BORDER="0" SRC="img50.png" ALT="\includegraphics{scripts/GMT_-B_linear}"></DIV></TD></TR> </TABLE> </DIV> <HR> <!--Navigation Panel--> <A NAME="tex2html3254" HREF="node45.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html3248" HREF="node42.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html3242" HREF="node43.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html3250" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html3252" HREF="node258.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html3255" HREF="node45.html">4.4.3.3 Cartesian log axes</A> <B> Up:</B> <A NAME="tex2html3249" HREF="node42.html">4.4.3 Map frame and</A> <B> Previous:</B> <A NAME="tex2html3243" HREF="node43.html">4.4.3.1 Geographic basemaps</A> <B> <A NAME="tex2html3251" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html3253" HREF="node258.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2011-02-27 </ADDRESS> </BODY> </HTML>