1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="GMT_Docs.css">
<LINK REL="next" HREF="node128.html">
<LINK REL="previous" HREF="node126.html">
<LINK REL="up" HREF="node125.html">
<LINK REL="next" HREF="node128.html">
</HEAD>
<BODY bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html2832"
HREF="node128.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html2826"
HREF="node125.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html2820"
HREF="node126.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html2828"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html2830"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html2833"
HREF="node128.html">H.3 European characters</A>
<B> Up:</B> <A NAME="tex2html2827"
HREF="node125.html">H. Problems with display</A>
<B> Previous:</B> <A NAME="tex2html2821"
HREF="node126.html">H.1 PostScript driver bugs</A>
  <B> <A NAME="tex2html2829"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html2831"
HREF="node149.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION002320000000000000000">
H.2 Resolution and dots per inch</A>
</H1>
<A NAME="14630"></A>
<P>
The parameter DOTS_PR_INCH can be set by the user through
the <U>.gmtdefaults</U> file or <A NAME="tex2html661"
HREF="../gmtset.html"><I><B>gmtset</B></I></A><A NAME="14809"></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="tex2html662"
HREF="http://www.soest.hawaii.edu/gmt"><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="tex2html663"
HREF="http://www.soest.hawaii.edu/gmt"><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
DOTS_PR_INCH 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 DOTS_PR_INCH to very large
numbers. This only makes the <I>PostScript</I> output bigger
without affecting the appearence 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="tex2html2832"
HREF="node128.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html2826"
HREF="node125.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html2820"
HREF="node126.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html2828"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html2830"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html2833"
HREF="node128.html">H.3 European characters</A>
<B> Up:</B> <A NAME="tex2html2827"
HREF="node125.html">H. Problems with display</A>
<B> Previous:</B> <A NAME="tex2html2821"
HREF="node126.html">H.1 PostScript driver bugs</A>
  <B> <A NAME="tex2html2829"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html2831"
HREF="node149.html">Index</A></B>
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>
|