| 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="821AddingguidelinestoPiePlots.html">
|
|
|
8 |
<LINK REL="Next" HREF="823Explodingpieslices.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="821AddingguidelinestoPiePlots.html">Previous</A>
|
|
|
26 |
<A HREF="823Explodingpieslices.html">Next</A>
|
|
|
27 |
<HR NOSHADE>
|
|
|
28 |
<H3><A NAME="8_2_2">8.2.2 Creating 3D pie plots</A></H3>
|
|
|
29 |
<P> So far we have only made use of 2D pie plots, creating 3D pie plots
|
|
|
30 |
is no more difficult. Instead of creating the plots with a call to
|
|
|
31 |
PiePlot() you create the plots with a call to <A href="../ref/PiePlot3D.html#_C_PIEPLOT3D">
|
|
|
32 |
PiePlot3D()</A> If we just take the first simple pie plot and replace
|
|
|
33 |
the call to PiePlot() with a call to PiePlot3D() we get the following
|
|
|
34 |
result.<DIV class="example">
|
|
|
35 |
<BR> <A href="exframes/frame_example27.html" target="blank"><IMG border="0"
|
|
|
36 |
HEIGHT="200" src="img/img/img/img/img/img/example27.png" WIDTH="300"></A>
|
|
|
37 |
<BR><B>Figure 127:</B> A first example of a 3D pie plot <A href="exframes/frame_example27.html"
|
|
|
38 |
target="blank">[src]</A>
|
|
|
39 |
<P></P>
|
|
|
40 |
</DIV></P>
|
|
|
41 |
<P> 3D Pie plots have the same possibilities as the normal pie plots
|
|
|
42 |
with the added twist of a 3:rd dimension. You can adjust the
|
|
|
43 |
perspective angle with the method <A href="../ref/PiePlot3D.html#_PIEPLOT3D_SETANGLE">
|
|
|
44 |
SetAngle()</A> So for example to make the pie more "flat" you just set
|
|
|
45 |
it to a smaller angle. Setting the perspective angle to 20 degrees in
|
|
|
46 |
the previous example will give the following result.<DIV class="example">
|
|
|
47 |
<BR> <A href="exframes/frame_example27.1.html" target="blank"><IMG border="0"
|
|
|
48 |
HEIGHT="200" src="img/img/img/img/img/img/example27.1.png" WIDTH="300"></A>
|
|
|
49 |
<BR><B>Figure 128:</B> Adjusting the perspective angle <A href="exframes/frame_example27.1.html"
|
|
|
50 |
target="blank">[src]</A>
|
|
|
51 |
<P></P>
|
|
|
52 |
</DIV></P>
|
|
|
53 |
<P></P>
|
|
|
54 |
<HR NOSHADE>
|
|
|
55 |
<A HREF="toc.html">Contents</A>
|
|
|
56 |
<A HREF="821AddingguidelinestoPiePlots.html">Previous</A>
|
|
|
57 |
<A HREF="823Explodingpieslices.html">Next</A>
|
|
|
58 |
</BODY>
|
|
|
59 |
</HTML>
|