Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"><LINK REL="Start" HREF="index.html"><LINK REL="Contents" HREF="toc.html"><LINK REL="Prev" HREF="74Scatterplots.html"><LINK REL="Next" HREF="76BoxandStockcharts.html"><STYLE TYPE="text/css"><!--BODY { font-family: serif }H1 { font-family: sans-serif }H2 { font-family: sans-serif }H3 { font-family: sans-serif }H4 { font-family: sans-serif }H5 { font-family: sans-serif }H6 { font-family: sans-serif }SUB { font-size: smaller }SUP { font-size: smaller }PRE { font-family: monospace }A { text-decoration: none }--></STYLE></HEAD><BODY><A HREF="toc.html">Contents</A><A HREF="74Scatterplots.html">Previous</A><A HREF="76BoxandStockcharts.html">Next</A><HR NOSHADE><H2><A NAME="7_5">7.5 Field plots</A></H2><P> A variant of scatter plot is the so called<I> Field Plots</I> thisis basically a scatter plot where each scatter point is an arrow with adirection between 0 to 359 degrees. This effectively allows thevisualization of 3 parameters at each point (x,y,angle). As anadditional bonus there is also possible to define a callback for eachscatter plot to also define the color for each point.</P><P> To create a field plot you create an instance of <A href="../ref/FieldPlot.html#_C_FIELDPLOT">FieldPlot</A> in the same way as you created a normal scatter plot. Thearguments to this method are Y-coordinate, X-coordinate and angle. Tospecify a callback you use <A href="../ref/FieldPlot.html#_FIELDPLOT_SETCALLBACK">FieldPlot::SetCallback()</A></P><P> The following example (and code) illustrates the usage of the fieldplot type.</P><P><DIV class="example"><BR> <A href="exframes/frame_fieldscatterex1.html" target="blank"><IMG border="0"HEIGHT="200" src="img/img/img/img/img/img/fieldscatterex1.png" WIDTH="300"></A><BR><B>Figure 67:</B> Example of the Field plot type <A href="exframes/frame_fieldscatterex1.html"target="blank">[src]</A> <P></P></DIV></P><P> In addition to the parameters mentioned above you can also adjustboth the general size of the arrow and also the specific size of thearrowhead. The arrow size is specified in pixels and the arrow head isspecified as an integers between 0 and 10. These sizes are specifiedwith a call to <A href="../ref/FieldArrow.html#_FIELDARROW_SETSIZE">FieldPlot::arrow::SetSize()</A></P><HR NOSHADE><A HREF="toc.html">Contents</A><A HREF="74Scatterplots.html">Previous</A><A HREF="76BoxandStockcharts.html">Next</A></BODY></HTML>