Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ed05dc5f357c49fdded780f52b150dce > files > 71

ploticus-2.41-2mdv2010.0.i586.rpm

<html>
<head>
<!-- This file has been generated by unroff 1.0, 03/11/09 12:56:18. -->
<!-- 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 - 'compare' 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 - 'compare' 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_-_'compare'_prefab(PL)</title>
</head>
<body>

<p>
These examples all use the
<a href="prefab_compare.html">
 compare prefab.<tt> </tt>
</a>
All of these examples are included in the distribution (<tt>./pltestsuite/testpf_compare</tt>).<tt> </tt>
<a href="prefab_gallery.html">
 Gallery of ALL prefab examples
</a>
<p>
The 
<a href="prefab_compare.html">
 compare prefab
</a>
<b>computes means and standard deviations from your data set</b>, and then displays them
as a collection of bars with error bars.<tt> </tt>

<br><br><br>


Examples 1 thru 5 use the <tt>dexa.dat</tt> data file which looks like this (sample).
Field 1 identifies the category, and field 2 (sex) identifies the subcategory.  The other
fields are variables that can be plotted.
<pre>
strain sex bw RFbmc LFbmc RFbmd LFbmd
129S1/SvImJ f 20.5 0.0265 0.0313 0.0647 0.0695
129S1/SvImJ f 20 0.0326 0.0351 0.0739 0.0741
129S1/SvImJ f 19.3 0.0249 0.0302 0.0682 0.0686
129S1/SvImJ m 24.1 0.0285 0.0340 0.0720 0.0762
129S1/SvImJ m 20.6 0.0260 0.0270 0.0635 0.0670
129S1/SvImJ m 22.9 0.0322 0.0374 0.0730 0.0785
A/J f 21.6 0.0227 0.0257 0.0644 0.0691
A/J f 21.1 0.0229 0.0284 0.0608 0.0674
A/J f 23.4 0.0242 0.0259 0.0630 0.0687
A/J m 25.1 0.0284 0.0315 0.0669 0.0661
A/J m 27.3 0.0248 0.0296 0.0638 0.0696
A/J m 24.6 0.0229 0.0227 0.0628 0.0682
....
</pre>




<h2> example 1 - comparison of one variable</h2>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/compare1.gif"></td></tr>
</table></center>
<pre>
pl -prefab compare data=dexa.dat header=yes catfields=strain \ 
  y=RFbmc stubvert=yes barwidth=0.1 \ 
  "title= Comparison of one variable" "titledet= adjust=0,+0.4" 
</pre>

<br>
<br>
<br>

<h2> example 2 - comparison of two variables, no subcats</h2>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/compare2.gif"></td></tr>
</table></center>
<pre>
pl -prefab compare data=dexa.dat header=yes catfields=strain \ 
  y=RFbmc y2=LFbmc stubvert=yes barwidth=0.1 \ 
  "title= Comparison of two variables, no subcats" "titledet= adjust=0,+0.4" 
</pre>
<br>
<br>
<br>

<h2> example 3 - comparison of four variables, no subcats</h2>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/compare3.gif"></td></tr>
</table></center>
<pre>
pl -prefab compare data=dexa.dat header=yes catfields=strain \ 
  y=RFbmc y2=LFbmc y3=RFbmd y4=LFbmd  stubvert=yes \ 
  "title= Comparison of four variables, no subcats" \ 
  "titledet= adjust=0,+0.4" 
</pre>
<br>
<br>
<br>

<h2> example 4 - comparison of two variables, with f & m subcats</h2>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/compare4.gif"></td></tr>
</table></center>
<pre>
pl -prefab compare data=dexa.dat header=yes catfields=strain,sex \ 
  y=RFbmc y2=LFbmc leftsub=f rightsub=m stubvert=yes \ 
  "title= Comparison of two variables, with f & m subcats" \ 
  "titledet= adjust=0,+0.4" 
</pre>
<br>
<br>
<br>

<h2> example 5 - comparison of four variables, with f & m subcats</h2>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/compare5.gif"></td></tr>
</table></center>
<pre>
pl -prefab compare data=dexa.dat header=yes catfields=strain,sex \ 
  "rectangle= 1 2 8 4"  -pagesize 9,5 \ 
  y=RFbmc y2=LFbmc y3=RFbmd y4=LFbmd leftsub=f rightsub=m stubvert=yes \ 
  "title= Comparison of four variables, with f & m subcats" \ 
  "titledet= adjust=0,+0.4" 
</pre>
<br>
<br>
<br>

<h2> example 6 - comparison of four conditionally-selected variables</h2>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/compare6.gif"></td></tr>
</table></center>
<pre>
 pl -prefab compare data=data28 header=yes catfields=strain \ 
    "rectangle=1 2 6 5"  \ 
    y=pct_mac y2=pct_mac y3=pct_mac y4=pct_mac  \ 
    "ptselect= @sactime = 0 && @inj = trt" \ 
    "ptselect2= @sactime = 24 && @inj = trt" \ 
    "ptselect3= @sactime = 48 && @inj = trt" \ 
    "ptselect4= @sactime = 72 && @inj = trt" \ 
     ptselecttags=0,24,48,72 \ 
    stubvert=yes erroneway=yes  
</pre>



<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 &nbsp; <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> &nbsp; </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,&#160;<tt> </tt>&#160;<tt> </tt>March 11, 2009.
</body>
</html>