<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 heatmap 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 heatmap 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_heatmap_prefab(PL)</title> </head> <body> <p> These examples use the <a href="prefab_heatmap.html"> heatmap prefab </a> and are included in the distribution (<tt>./pltestsuite/testpf_heatmap</tt>).<tt> </tt> <a href="prefab_gallery.html"> Gallery of ALL prefab examples </a> <br><br><br> <h2>heatmap example 1</h2> <img src="../gallery/prefab_img/heatmap1.gif"> <p> <pre> pl -prefab heatmap data=curve1.dat y=1 x=2 The curve1.dat file looks like this: 331 75 331.624 83.5518 332.105 88.7758 332.492 91.8638 ..etc. </pre> <p> The heatmap prefab's basic mode is to count instances. Here, the bin sizes in x and y are automatically determined, as is the breakdown for color coding.<tt> </tt> Default color scheme is used.<tt> </tt> These can all be given explicitly if desired.<tt> </tt> In this example, both X and Y are numeric.<tt> </tt> <br><br><br> <h2>heatmap example 2</h2> <img src="../gallery/prefab_img/heatmap2.gif"> <pre> pl -prefab heatmap data=snpmap.dat header=yes y=1 x=2 ycats=yes xbinsize=5 \ colorlist=white,limegreen,green,teal,blue,purple,black </pre> <p> Counting instances again. In this example X is categorical and Y is numeric, and a user-supplied x binsize and color scheme was used. Y bin size and color breakdown are automatically determined.<tt> </tt> <br><br><br> <h2>heatmap example 3</h2> <img src="../gallery/prefab_img/heatmap3.gif"> <pre> pl -prefab heatmap data=data26 x=1 xcats=yes y=2 ycats=yes contentfield=3 \ outline="color=black width=5" The data26 file looks like this: CL PNG 44 CL SVG 38 CL SWF 26 CL PS 54 CGI PNG 37 ... </pre> <p> In this example, instead of counting instances, a predetermined value (<tt>contentfield=3</tt>) is used to set cell color. Both X and Y are categorical. The cells are separated by thicker black lines.<tt> </tt> <br><br><br> <h2>heatmap example 4</h2> <img src="../gallery/prefab_img/heatmap4.gif"> <pre> pl -prefab heatmap data=data26 x=1 xcats=yes y=2 ycats=yes contentfield=3 \ symbol="shape=circle radius=0.1" legendsep=0.2 zerocolor=white </pre> <p> Same as example 3 but circles are used for cells, and background is white.<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>