<!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>2.1.1 Examples</TITLE> <META NAME="description" CONTENT="2.1.1 Examples"> <META NAME="keywords" CONTENT="GMT_Tutorial"> <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_Tutorial.css"> <LINK REL="next" HREF="node36.html"> <LINK REL="previous" HREF="node34.html"> <LINK REL="up" HREF="node34.html"> <LINK REL="next" HREF="node36.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html887" HREF="node36.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html881" HREF="node34.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html875" HREF="node34.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html883" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html885" HREF="node63.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html888" HREF="node36.html">2.1.2 Exercises</A> <B> Up:</B> <A NAME="tex2html882" HREF="node34.html">2.1 General Information</A> <B> Previous:</B> <A NAME="tex2html876" HREF="node34.html">2.1 General Information</A> <B> <A NAME="tex2html884" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html886" HREF="node63.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00411000000000000000"></A> <A NAME="878"></A> <BR> 2.1.1 Examples </H2> <P> We will start off using the file <U>data</U> in your directory. Using the <A NAME="tex2html134" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> utility <A NAME="tex2html135" HREF="../man/minmax.html"><I><B>minmax</B></I></A><A NAME="2166"></A> we find the extent of the data region: <P> <PRE> minmax data </PRE> <P> which returns <P> <PRE> data: N = 7 <1/5> <1/5> </PRE> <P> telling us that the file <U>data</U> has 7 records and gives the minimum and maximum values for the first two columns. Given our knowledge of how to set up linear projections with <B>-R</B> and <B>-JX</B>, try the following: <P> <OL> <LI>Plot the data as transparent circles of size 0.3 inches. <P> </LI> <LI>Plot the data as solid white circles instead. <P> </LI> <LI>Plot the data using 0.5" stars, making them red with a thick (width = 1.5p), dashed pen. <P> </LI> </OL> <P> To simply plot the data as a line we choose no symbol and specify a pen thickness instead: <P> <PRE> psxy data -R -J -P -B -Wthinner > plot.ps </PRE> <A NAME="892"></A> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html887" HREF="node36.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html881" HREF="node34.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html875" HREF="node34.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html883" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html885" HREF="node63.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html888" HREF="node36.html">2.1.2 Exercises</A> <B> Up:</B> <A NAME="tex2html882" HREF="node34.html">2.1 General Information</A> <B> Previous:</B> <A NAME="tex2html876" HREF="node34.html">2.1 General Information</A> <B> <A NAME="tex2html884" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html886" HREF="node63.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>