| 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="7110Adjustingthegridlinesintheplot.html">
|
|
|
8 |
<LINK REL="Next" HREF="7112SpecifyingtextlabelsfortheXaxis.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="7110Adjustingthegridlinesintheplot.html">Previous</A>
|
|
|
26 |
<A HREF="7112SpecifyingtextlabelsfortheXaxis.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="7_1_11">7.1.11 Using filled grid lines</A></H3>
|
|
|
29 |
<P> Another option for the grid lines is the possibility to have the
|
|
|
30 |
area between the grid lines filled with alternating two colors. The
|
|
|
31 |
example below illustrates this.<DIV class="example">
|
|
|
32 |
<BR> <A href="exframes/frame_filledgridex1.html" target="blank"><IMG border="0"
|
|
|
33 |
HEIGHT="200" src="img/img/img/img/img/img/filledgridex1.png" WIDTH="300"></A>
|
|
|
34 |
<BR><B>Figure 21:</B> Using two alternating colors between the gridlines
|
|
|
35 |
<A href="exframes/frame_filledgridex1.html" target="blank">[src]</A>
|
|
|
36 |
<P></P>
|
|
|
37 |
</DIV></P>
|
|
|
38 |
<P> In the example above we have also made use of alpha-blending
|
|
|
39 |
(requires GD 2.x or higher). By default the filled grid lines are
|
|
|
40 |
disabled. To enable this style you have to call the <A href="../ref/Grid.html#_GRID_SETFILL">
|
|
|
41 |
Grid::SetFill()</A> method.</P>
|
|
|
42 |
<HR NOSHADE>
|
|
|
43 |
<A HREF="toc.html">Contents</A>
|
|
|
44 |
<A HREF="7110Adjustingthegridlinesintheplot.html">Previous</A>
|
|
|
45 |
<A HREF="7112SpecifyingtextlabelsfortheXaxis.html">Next</A>
|
|
|
46 |
</BODY>
|
|
|
47 |
</HTML>
|