<html> <head> <!-- This file has been generated by unroff 1.0, 03/11/09 12:56:19. --> <!-- Do not edit! --> <STYLE TYPE="text/css"> <!-- A:link{text-decoration:none} A:visited{text-decoration:none} A:active{text-decoration:none} OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; } H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; } H2 { font-size: large; font-family: arial,helvetica,sans-serif; } H3 { font-size: medium; font-family: arial,helvetica,sans-serif; } H4 { font-size: small; font-family: arial,helvetica,sans-serif; } --> </STYLE> <title>ploticus: examples using the pie prefab</title> <body bgcolor=D0D0EE vlink=0000FF> <br> <br> <center> <table cellpadding=2 bgcolor=FFFFFF width=550><tr> <td> <table cellpadding=2 width=550><tr> <td><br><h2>Examples using the pie prefab</h2></td> <td align=right> <small> <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br> Version 2.41 Mar2009 </small><br><a href="../doc/prefabs.html">Prefabs</a> <td></tr></table> </td></tr> <td> <br> <br> <title>Manual page for Examples_using_the_pie_prefab(PL)</title> </head> <body> <p> These examples use <a href="prefab_pie.html"> the pie prefab.<tt> </tt> </a> They are included in the distribution (<tt>./pltestsuite/testpf_pie</tt>).<tt> </tt> <a href="prefab_gallery.html"> Gallery of ALL prefab examples </a> <br><br><br> <h2>pie example 1</h2> <p> <center><table cellpadding=2><tr> <td><img src="../gallery/prefab_img/pie1.gif"></td></tr> </table></center> <p> <pre> pl -prefab pie values=3 labels=1 data=data9 \ delim=tab title="Student enrollment" data9 file: Business Admin 1.39 331 English 1.67 182 Chemistry 2.07 301 ..etc. </pre> <br><br><br> <h2>pie example 2</h2> <center><table cellpadding=2><tr> <td><img src="../gallery/prefab_img/pie3.gif"></td></tr> </table></center> <p> <pre> pl -prefab pie data=data23 delim=tab values=2 labels=1 colorfld=3 \ title="Colors from data field" legend=yes the data23 file: Employment 8 red In transit 2 orange Meals 1 green Errands 1 purple Household chores 2 yellow Recreation & relaxation 2 blue Sleep 8 gray(0.8) </pre> <p> Colors driven by data, and a legend for explanation.<tt> </tt> <br><br><br> <h2>pie example 3</h2> <img src="../gallery/prefab_img/pie4.gif"> <pre> pl -prefab pie data=data23 delim=tab values=2 "labelfmtstring= @1\n (@PCT%)" colorfld=3 labelback=dullyellow firstslice=90 center="4 3" radius=1.5 </pre> Labels with backing boxes, and an explicitly defined center and radius.<tt> </tt> <br> <br> </td></tr> <td align=right> <a href="../doc/welcome.html"> <img src="../doc/ploticus.gif" border=0></a><br><small>data display engine <br> <a href="../doc/Copyright.html">Copyright Steve Grubb</a> <br> <br> <center> <img src="../gallery/all.gif"> </center> </td></tr> </table> <br> <center> <table><tr><td> Ploticus is hosted at http://ploticus.sourceforge.net</td><td> </td><td> <a href="http://sourceforge.net/projects/ploticus"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=38453&type=12" width="120" height="30" border="0" alt="Get ploticus data display engine at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> </td></tr></table> </center> <p><hr> Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>March 11, 2009. </body> </html>