Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > os > by-pkgid > 4b194777eaf705e440bb2ce282d32772 > files > 637

GMT-doc-4.5.3-3.fc14.noarch.rpm

<!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.2 Resolution and dots per inch</TITLE>
<META NAME="description" CONTENT="H.2 Resolution and dots per inch">
<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="node206.html">
<LINK REL="previous" HREF="node204.html">
<LINK REL="up" HREF="node203.html">
<LINK REL="next" HREF="node206.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html5567"
  HREF="node206.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5561"
  HREF="node203.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5555"
  HREF="node204.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5563"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5565"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5568"
  HREF="node206.html">H.3 European characters</A>
<B> Up:</B> <A NAME="tex2html5562"
  HREF="node203.html">H. Problems with display</A>
<B> Previous:</B> <A NAME="tex2html5556"
  HREF="node204.html">H.1 PostScript driver bugs</A>
 &nbsp; <B>  <A NAME="tex2html5564"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5566"
  HREF="node256.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION002520000000000000000">
H.2 Resolution and dots per inch</A>
</H1>
<A NAME="31190"></A>

<P>
The parameter <B>DOTS_PR_INCH</B> can be set by the user through
the <U>.gmtdefaults4</U> file or <A NAME="tex2html1775"
  HREF="../man/gmtset.html"><I><B>gmtset</B></I></A><A NAME="31350"></A>.  By default
it is equal to the value in the <U>gmt_defaults.h</U>
file, which is supplied with 300 when you get <A NAME="tex2html1776"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> from us.
This seems a good size for most applications, but should ideally
reflect the resolution of your hardcopy device (most laserwriters
have at least 300 dpi, hence our default value).  <A NAME="tex2html1777"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> computes what the
plot should look like in double precision floating point
coordinates, and then converts these to integer coordinates at
<B>DOTS_PR_INCH</B> resolution.  This helps us find out that certain
points in a path lie on top of other points, and we can remove
these, making smaller paths.  Small paths are important for the
laserwriter bugs above, and also to make fill operations compute
faster.  Some users have set their <B>DOTS_PR_INCH</B> to very large
numbers.  This only makes the <I>PostScript</I> output bigger
without affecting the appearance of the plot.  However, if you
want to make a plot which fits on a page at first, and then
later magnify this same <I>PostScript</I> file to a huge size,
the higher DPI is important.  Your data may not have the higher
resolution but on certain devices the edges of fonts will not
look crisp if they are not drawn with an effective resolution
of 300 dpi or so.  Beware of making an excessively large path.
Note that if you change dpi the linewidths produced by your
<B>-W</B> options will change, unless you have appended <B>p</B>
for linewidth in points.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html5567"
  HREF="node206.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html5561"
  HREF="node203.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html5555"
  HREF="node204.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html5563"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html5565"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html5568"
  HREF="node206.html">H.3 European characters</A>
<B> Up:</B> <A NAME="tex2html5562"
  HREF="node203.html">H. Problems with display</A>
<B> Previous:</B> <A NAME="tex2html5556"
  HREF="node204.html">H.1 PostScript driver bugs</A>
 &nbsp; <B>  <A NAME="tex2html5564"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html5566"
  HREF="node256.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-07-14
</ADDRESS>
</BODY>
</HTML>