| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
|
|
5 |
<LINK REL="Start" HREF="index.html">
|
|
|
6 |
<LINK REL="Contents" HREF="toc.html">
|
|
|
7 |
<LINK REL="Prev" HREF="821Addingbandsofpatternandcolortographs.html">
|
|
|
8 |
<LINK REL="Next" HREF="822Addingstaticlinestotheplot.html">
|
|
|
9 |
<STYLE TYPE="text/css"><!--
|
|
|
10 |
BODY { font-family: serif }
|
|
|
11 |
H1 { font-family: sans-serif }
|
|
|
12 |
H2 { font-family: sans-serif }
|
|
|
13 |
H3 { font-family: sans-serif }
|
|
|
14 |
H4 { font-family: sans-serif }
|
|
|
15 |
H5 { font-family: sans-serif }
|
|
|
16 |
H6 { font-family: sans-serif }
|
|
|
17 |
SUB { font-size: smaller }
|
|
|
18 |
SUP { font-size: smaller }
|
|
|
19 |
PRE { font-family: monospace }
|
|
|
20 |
A { text-decoration: none }
|
|
|
21 |
--></STYLE>
|
|
|
22 |
</HEAD>
|
|
|
23 |
<BODY>
|
|
|
24 |
<A HREF="toc.html">Contents</A>
|
|
|
25 |
<A HREF="821Addingbandsofpatternandcolortographs.html">Previous</A>
|
|
|
26 |
<A HREF="822Addingstaticlinestotheplot.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="8_21_1">8.21.1 Customizing the patterns</A></H3>
|
|
|
29 |
<P> All patterns can be customized by</P>
|
|
|
30 |
<UL>
|
|
|
31 |
<LI> ... altering the colors of the band
|
|
|
32 |
<BR> </LI>
|
|
|
33 |
<LI> ... altering the density of the patterns using the method <A href="../ref/PlotBand.html#_PLOTBAND_SETDENSITY">
|
|
|
34 |
PlotBand::SetDensity()</A> The density is specified as an integer in
|
|
|
35 |
range 1 to 100 where a higher number means a higher density (smaller
|
|
|
36 |
distance between the lines). For example setting the density of the 3D
|
|
|
37 |
plane above to 60 gives the result<DIV class="example">
|
|
|
38 |
<BR> <A href="exframes/frame_smallstaticbandsex4.html" target="blank"><IMG
|
|
|
39 |
border="0" HEIGHT="150" src="img/smallstaticbandsex4.png" WIDTH="200"></A>
|
|
|
40 |
<BR><B>Figure 107:</B> Increasing the desnity in a pattern <A href="exframes/frame_smallstaticbandsex4.html"
|
|
|
41 |
target="blank">[src]</A>
|
|
|
42 |
<P></P>
|
|
|
43 |
</DIV>
|
|
|
44 |
<P>
|
|
|
45 |
<BR> </P>
|
|
|
46 |
</LI>
|
|
|
47 |
<LI> ... enabling or disabling a frame around the pattern by using the
|
|
|
48 |
method <A href="../ref/PlotBand.html#_PLOTBAND_SHOWFRAME">
|
|
|
49 |
PlotBand::ShowFrame()</A> The band will be given the same color as the
|
|
|
50 |
band.
|
|
|
51 |
<BR> </LI>
|
|
|
52 |
<LI> ... finally you can change whether the band should be drawn on top
|
|
|
53 |
of the plots or beneath, (by default the bands are under the plots),
|
|
|
54 |
using the <A href="../ref/PlotBand.html#_PLOTBAND_SETORDER">
|
|
|
55 |
PlotBand::SetOrder()</A> as the following example show<DIV class="example">
|
|
|
56 |
<BR> <A href="exframes/frame_smallstaticbandsex5.html" target="blank"><IMG
|
|
|
57 |
border="0" HEIGHT="150" src="img/smallstaticbandsex5.png" WIDTH="200"></A>
|
|
|
58 |
<BR><B>Figure 108:</B> Stroking the pattern on top of the plots <A href="exframes/frame_smallstaticbandsex5.html"
|
|
|
59 |
target="blank">[src]</A>
|
|
|
60 |
<P></P>
|
|
|
61 |
</DIV>
|
|
|
62 |
<P></P>
|
|
|
63 |
</LI>
|
|
|
64 |
</UL>
|
|
|
65 |
<P><DIV class="note"><B>Note:</B> 3D planes actually carry another
|
|
|
66 |
possible modification. You can specify the vanish point to change the
|
|
|
67 |
perspective used. You can't access the method to change the horizon
|
|
|
68 |
directly but you can access it through</DIV><DIV class="phpscript"><CODE>
|
|
|
69 |
<FONT color="#000000"> <FONT color="#0000BB"> $band</FONT><FONT color="#007700">
|
|
|
70 |
-></FONT><FONT color="#0000BB">prect</FONT><FONT color="#007700">-></FONT><FONT
|
|
|
71 |
color="#0000BB">SetHorizon</FONT><FONT color="#007700">(</FONT><FONT color="#0000BB">
|
|
|
72 |
$aHorizon</FONT><FONT color="#007700">)</FONT><FONT color="#0000BB"></FONT>
|
|
|
73 |
</FONT></CODE></DIV></P>
|
|
|
74 |
<P></P>
|
|
|
75 |
<P><SMALL> assuming that the band is a 3D plane.</SMALL></P>
|
|
|
76 |
<P> To finish this section we give one final, more creative, example on
|
|
|
77 |
how to use the bands.<DIV class="example">
|
|
|
78 |
<BR> <A href="exframes/frame_staticbandbarex7.html" target="blank"><IMG border="0"
|
|
|
79 |
HEIGHT="300" src="img/staticbandbarex7.png" WIDTH="400"></A>
|
|
|
80 |
<BR><B>Figure 109:</B> Combining 3D plane, solid band and a sttaic line <A
|
|
|
81 |
href="exframes/frame_staticbandbarex7.html" target="blank">[src]</A>
|
|
|
82 |
<P></P>
|
|
|
83 |
</DIV></P>
|
|
|
84 |
<P></P>
|
|
|
85 |
<HR NOSHADE>
|
|
|
86 |
<A HREF="toc.html">Contents</A>
|
|
|
87 |
<A HREF="821Addingbandsofpatternandcolortographs.html">Previous</A>
|
|
|
88 |
<A HREF="822Addingstaticlinestotheplot.html">Next</A>
|
|
|
89 |
</BODY>
|
|
|
90 |
</HTML>
|