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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), 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>Color Modes and Viewing</TITLE>
<META NAME="description" CONTENT="Color Modes and Viewing">
<META NAME="keywords" CONTENT="userman">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="userman.css">
<LINK REL="next" HREF="node48.html">
<LINK REL="previous" HREF="node46.html">
<LINK REL="up" HREF="node46.html">
<LINK REL="next" HREF="node48.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1112"
HREF="node48.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html1109"
HREF="node46.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html1103"
HREF="node46.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html1111"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/lib/latex2html/icons.gif/contents_motif.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1113"
HREF="node48.html">Color Coding for Points</A>
<B> Up:</B> <A NAME="tex2html1110"
HREF="node46.html">Colors in DsTool</A>
<B> Previous:</B> <A NAME="tex2html1104"
HREF="node46.html">Colors in DsTool</A>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00531000000000000000">
Color Modes and Viewing</A>
</H2>
DsTool has two color modes: alternating color<A NAME="1886"> </A> and picked
color<A NAME="1887"> </A>.
The alternating color cycles through a list of entries in a colormap.
For example, different colors are used to distinguish flows.
The pick color can be selected by the user and is used to color
code points according to the type of phenomena they represent.
Suppose the colormap<A NAME="1888"> </A> has <I>N</I> entries. In the default settings for
DsTool, we have the bounds
<!-- MATH: $4\le N \le 13$ -->
61#61.
The value 4 is
fixed, as DsTool needs at least 3 ``system'' colors<A NAME="1889"> </A>, and at least
one color for alternating colors<A NAME="1890"> </A>. The value
13 is variable, and depends upon the value of the constant
MAX_DSCOLOR in the file
$DSTOOL/src/include/dscolor.h.
Entries 0, 1, 2 of the colormap are reserved for system
colors Red, Green, Blue, respectively. The alternating color
cycles through entries 3 through <I>N</I>-1, while pick color can use any entry 0
through <I>N</I>-1. The available colors are displayed and can the
pick color be selected in the Color window.
Each point that is stored in memory has three color (integer) entries.
They are used to designate how the point is displayed in 2-D View
windows. Points sent to Geomview via the 3-D View window are always
displayed with dots, and points displayed in 1-D View windows are always
connected with lines.
The first color field contains the alternating color for the point, the
second color field contains the pick color, and the third color field
contains the symbol code. If the alternating color is
a positive number, and the pick color setting on the
2-D or 3-D View window is off, then the point is plotted with the corresponding
alternating color of the colormap. If the alternating color
is negative, or the pick color
setting of the 2-D or 3-D View window is on, then the point is plotted
with the pick color. Regardless of the pick color setting, the point
is plotted in 2-D View windows with the symbol determined by the symbol code.
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1112"
HREF="node48.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A>
<A NAME="tex2html1109"
HREF="node46.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A>
<A NAME="tex2html1103"
HREF="node46.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A>
<A NAME="tex2html1111"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/lib/latex2html/icons.gif/contents_motif.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1113"
HREF="node48.html">Color Coding for Points</A>
<B> Up:</B> <A NAME="tex2html1110"
HREF="node46.html">Colors in DsTool</A>
<B> Previous:</B> <A NAME="tex2html1104"
HREF="node46.html">Colors in DsTool</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>John Lapeyre</I>
<BR><I>1998-09-04</I>
</ADDRESS>
</BODY>
</HTML>
|