.ig >>
<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: ploticus prefabs examples gallery</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>Ploticus prefabs examples gallery</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.33 Jun'06
     </small><br><a href="../doc/prefabs.html">Prefabs</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH Ploticus_prefabs_examples_gallery PL "02-JUN-2006   PL ploticus.sourceforge.net"



.LP
This page is a collection of all of the ploticus 
.ig >>
<a href="prefabs.html">
.>>
\0prefab
.ig >>
</a>
.>>
examples.

.ig >>
<hr>
<h2><a href="prefab_chron.html">chron</a></h2>
.>>

.LP
These examples all use
.ig >>
<a href="prefab_chron.html">
.>>
\0the chron prefab.
.ig >>
</a>
.>>
All of these examples are included in the distribution (\fC./pltestsuite/testpf_chron\fR).

.ig >>
<br><br><br>
.>>

.SH chron example 1 - dates 
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
pl  -prefab chron  data=data14  x=1  y=2  datefmt=yy/mm/dd  xinc="1 month" \\
     stubfmt=M  xyears=yyyy  yrange="0 25"  barwidth=line  color=red  \\
     title="# hits per day"  omitweekends=yes


The data14 file:
	00/12/21 1
	00/12/22 1
	00/12/23 2
	00/12/27 1
        ...etc.


.fi
.SH chron example 2 - dates - tabulated by week
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron2.gif"></td></tr>
</table></center>
.>>
.LP
.nf

pl  -prefab chron  data=data14  x=1  y=2  datefmt=yy/mm/dd  xinc="1 month" \\
      stubfmt=M  xyears=yyyy  color=green  tab=week  title="# hits per week"

.fi

.SH chron example 3 - dates - tabulated by week
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron3.gif"></td></tr>
</table></center>
.>>
.LP
.nf
pl  -prefab chron  data=data19  x=2  y=1  datefmt=mmddyy  xinc="1 month" \\
	stubfmt=M  xyears=yyyy  color=green  tab=week  include2=annot \\
	title="# website visitors per week"  rectangle="1 1 4 2.5"  ygrid=yes  \\
	mode=line step=yes fill=red 

The data19 file:
  18 071301
  16 071401
  15 071501
  34 071601
  ...etc.

.fi
In the above example, notice that \fBrectangle\fR (new in 2.02) was used to set a smaller
size, and a file containing script code for the annotation is included.

.ig >>
<br><br><br>
.>>


.SH chron example 4 - dates - tabulated by month
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron4.gif"></td></tr>
</table></center>
.>>
.LP
.nf


pl  -prefab chron  data=data14  x=1  y=2  datefmt=yy/mm/dd  xinc="1 month"  \\
	stubfmt=M  xyears=yyyy  color=powderblue  tab=month  tabmode=first  \\
	nearest=month  barwidth=0.2  curve=yes 


.fi

.SH chron example 5 - datetimes - tabulated by hour
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron5.gif"></td></tr>
</table></center>
.>>
.LP
.nf

pl -prefab chron  data=data16  x=1  tab=hour  datefmt=yy/mm/dd  xinc="1 day" \\
	barwidth=line  stubfmt=MMMdd  unittype=datetime  timefld=2  \\
	title="# hits per hour"


The data16 file:
	01/09/05	09:43:35
	01/09/05	09:43:40
	01/09/05	13:15:00
	01/09/05	13:15:11
	...etc.

Note that a file such as this (data13) could also be used, and timefld
would not need to specified:
	01/09/05.09:43:35
	01/09/05.09:43:40
	01/09/05.13:15:00
	01/09/05.13:15:11
	..etc.

.fi

.SH chron example 6 - times - tabulated by hour
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron6.gif"></td></tr>
</table></center>
.>>
.LP
.nf
pl -prefab chron  data=data15  x=1  tab=hour unittype=time xinc="1 hour" \\
	nearest=hour  barwidth=0.2  stubfmt=HHA  \\
	title="# events per hour"  color=coral


The data15 file:
	07:47:49
	07:47:52
	07:47:54
	..etc.

.fi

.SH chron example 7 - hourly temperature readings plotted for one week
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron7.gif"></td></tr>
</table></center>
.>>
.LP
.nf
pl -prefab chron data=data22 header=yes x=1 y=2 datefmt=mm/dd/yyyy  \\
  xinc="1 day" mode=line unittype=datetime title="temperatures this week"

The data22 file has data for one week and begins like this:
datetime temp
12/08/2002.00:00 22
12/08/2002.06:00 24
12/08/2002.12:00 31
12/10/2002.00:00 30


.fi

.SH chron example 8 - multiple curves
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/chron8.gif"></td></tr>
</table></center>
.>>
.LP
.nf
pl -prefab chron data=data24 header=yes unittype=datetime mode=line\\
  datefmt=mm/dd/yyyy x=dt y=airtemp y2=soiltemp y3=watertemp \\
  xinc="1 day" legendfmt=singleline

The data24 file looks like this:
dt airtemp soiltemp watertemp
12/08/2002.06:00 24 27 16
12/09/2002.00:00 25 27 16
12/10/2002.00:00 30 27 15
12/11/2002.00:00 32 32 15
12/12/2002.00:00 40 37 16
12/13/2002.00:00 19 27 15
12/14/2002.00:00 14 18 13
.fi
.LP
In version 2.20 the ability to render multiple curves or bar sets was introduced.
This can be done so long as tabulation is not being performed.




.ig >>
<hr>
<h2><a href="prefab_cumufrac.html">cumufrac</a></h2>
.>>

.LP
These examples use 
.ig >>
<a href="prefab_cumufrac.html">
.>>
\0the cumufrac prefab
.ig >>
</a>
.>>
and are included in the distribution (\fC./pltestsuite/testpf_cumufrac\fR).


.ig >>
<br><br><br>
.>>

.SH cumufrac example 1
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/cumufrac1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
	pl  -prefab cumufrac  data=cumufrac.dat  header=yes  x=1  name="set 1"  \\
	  x2=2  name2="set 2" title="Cumulative fraction plot" 

	The cumufrac.dat file looks like this:
	set1	set2
	1.26	2.37	
	0.34	2.16	
	0.70	14.82	
	1.75	1.73	
	50.57	41.04	
	...
.fi

.SH cumufrac example 2
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/cumufrac2.gif"></td></tr>
</table></center>
.>>
.LP
.nf
	pl  -prefab cumufrac  data=cumufrac.dat header=yes  logmode=log   x=1   x2=2  \\
	  title="Cumulative fraction plot w/ log scale" \\
	  linedet="color=blue width=1.5" \\
	  linedet2="color=orange width=1.5 style=2 dashscale=3" 
.fi


.ig >>
<hr>
<h2><a href="prefab_dist.html">dist</a></h2>
.>>

.LP
These examples all use
.ig >>
<a href="prefab_dist.html">
.>>
\0the dist prefab.
.ig >>
</a>
.>>
All of these examples are included in the distribution (\fC./pltestsuite/testpf_dist\fR).


.ig >>
<br><br><br>
.>>

.SH dist example 1
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/dist1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
\fC	pl -prefab dist fld=1  data=data6  curve=yes  binsize=0.05 \\
	  barwidth=0.08  ygrid=yes \fR

	data6 file:
		0.017
		0.269
		0.178
		..etc.



.fi
.SH dist example 2
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/dist2.gif"></td></tr>
</table></center>
.>>
.LP
.nf
  pl -prefab dist  fld=1  data=data8  cats=yes  yrange=0  \\
     stubvert=yes  barwidth=0.05   ylbl="# Hits"   order=rev 

  data8 file:
	home
	kwindex
	details
	browseform
	..etc.
.fi


.ig >>
<hr>
<h2><a href="prefab_heatmap.html">heatmap</a></h2>
.>>

.LP
These examples use the 
.ig >>
<a href="prefab_heatmap.html">
.>>
\0heatmap prefab
.ig >>
</a>
.>>
and are included in the distribution (\fC./pltestsuite/testpf_heatmap\fR).


.ig >>
<br><br><br>
.>>


.SH heatmap example 1
.ig >>
<img src="../gallery/prefab_img/heatmap1.gif">
.>>
.LP
.nf
   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.
.fi
.LP
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.
Default color scheme is used.
These can all be given explicitly if desired.
In this example, both X and Y are numeric.

.ig >>
<br><br><br>
.>>

.SH heatmap example 2
.ig >>
<img src="../gallery/prefab_img/heatmap2.gif">
.>>
.nf
  pl -prefab heatmap data=snpmap.dat header=yes y=1 x=2 ycats=yes xbinsize=5  \\
     colorlist=white,limegreen,green,teal,blue,purple,black
.fi
.LP
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.

.ig >>
<br><br><br>
.>>

.SH heatmap example 3
.ig >>
<img src="../gallery/prefab_img/heatmap3.gif">
.>>
.nf
  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
	...
.fi
.LP
In this example, instead of counting instances, a predetermined value (\fCcontentfield=3\fR) is used
to set cell color.  Both X and Y are categorical.  The cells are separated by thicker
black lines.

.ig >>
<br><br><br>
.>>

.SH heatmap example 4
.ig >>
<img src="../gallery/prefab_img/heatmap4.gif">
.>>
.nf
  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 

.fi
.LP
Same as example 3 but circles are used for cells, and background is white.



.ig >>
<hr>
<h2><a href="prefab_lines.html">lines</a></h2>
.>>

.LP
These examples all use
.ig >>
<a href="prefab_lines.html">
.>>
\0the lines prefab.
.ig >>
</a>
.>>
All examples are included in the distribution (\fC./pltestsuite/testpf_lines\fR).


.ig >>
<br><br><br>
.>>

.SH lines example 1
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/lines1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab lines  data=data17  x=1 y=2  pointsym=none

   The data17 file:
	331 75
	331.624 83.5518
	332.105 88.7758
	..etc.


.fi

.SH lines example 2
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/lines2.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl  -prefab lines data=data10 delim=tab  x=1  y=2  y2=4  step=yes \\
     yrange=0 name="Group A" name2="Group B" xlbl=Months


.fi

.SH lines example 3
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/lines3.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl  -prefab lines  data=data10 delim=tab  x=1  y=2 err=3  y2=4 err2=5  \\
       y3=6 err3=7  y4=8 err4=9   yrange=0  xlbl=Months \\
       name="Group A" name2="Group B" name3="Group C" name4="Group D" 

   The data10 file:
       0	100	2	100	4	100	3	100	4
       1.5	92	4	94	7	87	6	86	5
       3	89	4	92	8	78	6	74	4
       6	86	5	91	8	65	8	61	6
       ..etc.

.fi

.SH lines example 4
.LP
.ig >>
<center>
<img src="../gallery/prefab_img/lines4.gif">
</center>
.>>
.LP
.nf
   pl -prefab lines  data=data20  x=1  y=2 

   The data20 file:
      1031 20.96 6.4
      1032 19.71 5.8
      1033 19.98 5.9
      ... etc.

.fi

.SH lines example 5
.LP
.ig >>
<center>
<img src="../gallery/prefab_img/lines5.gif">
</center>
.>>

.LP
.nf
  pl -prefab lines  data=data20  x=1  y=2  fill=redorange pointsym=none  \\
	y2=2 pointsym2=none  
.fi
In this example the same data field was given twice, first to do the filled
area, and again to do the blue line.

.ig >>
<br><br><br>
.>>

.SH lines example 6
.LP
.ig >>
<center>
<img src="../gallery/prefab_img/lines6.gif">
</center>
.>>

.LP
.nf
   pl -prefab lines  data=data20  x=1  y=2  gapmissing=yes 

.fi

.SH lines example 7
.LP
.ig >>
<center>
<img src="../gallery/prefab_img/lines7.gif">
</center>
.>>

.LP
.nf
   pl -prefab lines  data=data20  x=1  y=2  fill=tan1  pointsym=none  \\
	y2=2 pointsym2=none  y3=3  pointsym3=none  linedet3=color=black \\
	yrange="0 25"  name="background" name3="interior" 

.fi

.ig >>
<br><br><br>
.>>


.ig >>
<hr>
<h2><a href="prefab_multidist.html">multidist</a></h2>
.>>

.LP
This example uses the 
.ig >>
<a href="prefab_multidist.html">
.>>
\0multidist prefab.
.ig >>
</a>
.>>


.ig >>
<br><br><br>
.>>

.SH Example 1
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/multidist1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
  pl  -prefab multidist  overlay=yes  data=data21  rotate=yes  \\
     xrange="0 2000"  yrange="0 20" 

       The data21 file is like this:
       sample1	380	239	384	384	1220	888	
       sample2	778	870	398	499	1472	

		..etc.
.fi
.LP


.ig >>
<hr>
<h2><a href="prefab_pie.html">pie</a></h2>
.>>

.LP
These examples use 
.ig >>
<a href="prefab_pie.html">
.>>
\0the pie prefab.
.ig >>
</a>
.>>
They are included in the distribution (\fC./pltestsuite/testpf_pie\fR).


.ig >>
<br><br><br>
.>>

.SH pie example 1
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/pie1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
    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.
.fi

.ig >>
<br><br><br>
.>>

.SH pie example 2
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/pie3.gif"></td></tr>
</table></center>
.>>
.LP
.nf
    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)
.fi
.LP
Colors driven by data, and a legend for explanation.

.ig >>
<br><br><br>
.>>
.SH pie example 3
.ig >>
<img src="../gallery/prefab_img/pie4.gif">
.>>
.nf
  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 
.fi
Labels with backing boxes, and an explicitly defined center and radius.




.ig >>
<hr>
<h2><a href="prefab_scat.html">scat</a></h2>
.>>

.LP
These examples use the 
.ig >>
<a href="prefab_scat.html">
.>>
\0scat prefab
.ig >>
</a>
.>>
and are included in the distribution (\fC./pltestsuite/testpf_scat\fR).


.ig >>
<br><br><br>
.>>


.SH scat examples 1 & 2
.ig >>
<center><table cellpadding=2 cellspacing=8><tr>
<td><img src="../gallery/prefab_img/scat1.gif"></td><td><img src="../gallery/prefab_img/scat2.gif"></td></tr>
</table></center>
.>>
.LP
.nf
Left:	pl  -prefab scat  data=data1  x=2  y=3  


Right:	pl  -prefab scat  data=data1  x=2  y=3  id=1 \\
	   xlbl="Total Ch"  ylbl="White Blood Cell Count"  corr=yes  


data1 file: 	A/J	1.39	331
		BALB/cJ	1.67	182
		C3H/HeJ	2.07	301
		..etc..



.fi
.SH scat example 3
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/scat3.gif"></td></tr>
</table></center>
.>>
.nf
pl  -prefab scat  data=data3  x=2  y=6  err=3  xerr=7  corr=yes \\
	  ptshape=triangle ptsize=0.08  ptcolor=red  "errcolor=gray(0.8)"

data3 file:
	129S1/SvImJ 0.4927 0.111 0.353 129S1/SvImJ 0.4080 0.0839 0.265
	A/J 0.5547 0.0768 0.243 A/J 0.6051 0.0656 0.207
	AKR/J 0.4125 0.0631 0.200 AKR/J 0.3653 0.0418 0.132
	...etc.


.fi

.SH scat example 4
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/scat4.gif"></td></tr>
</table></center>
.>>
Two different sets of data points are plotted using two different symbols, and error
bars are also generated.
The sets are selected using \fCptselect\fR and \fCptselect2\fR.
.nf

pl -prefab scat data=data25 delim=tab x=3 y=4 err=5 ptselect=" = A" xerr=6 \\
	x2=3 y2=4 err2=5 ptselect2=" = B" xerr2=6

data25 file:
	ABC	A	5	4	2.5	2.3
	ABC	B	4	4.5	1.6	1.8
	DEF	A	8	9	1.8	1.5
	DEF	B	3	3	0.9	1.3
	GHI	A	7.7	6.5	1.2	0.6
	GHI	B	6.6	6.3	0.8	1.1
.fi


.ig >>
<br><br><br>
.>>


.ig >>
<hr>
<h2><a href="prefab_stack.html">stack</a></h2>
.>>

.LP
These examples use the
.ig >>
<a href="prefab_stack.html">
.>>
\0stack prefab.
.ig >>
</a>
.>>
They are included in the distribution (\fC./pltestsuite/testpf_stack\fR)


.ig >>
<br><br><br>
.>>

.SH stack example 1 - bars
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/stack1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab stack data=data10 x=1 y=2 y2=4 y3=6 y4=8 xlbl=Months \\
    name="Group A" name2="Group B" name3="Group C" name4="Group D"

   data10 file:
	0	100	2	100	4	100	3	100	4
	1.5	92	4	94	7	87	6	86	5
	3	89	4	92	8	78	6	74	4
	..etc.



.fi

.SH stack example 2 - a stacked area plot
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/stack3.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab stack data=data5 delim=tab x=1 y=2 y2=3 y3=4 y4=5  \\
        stackarea=yes echodata=yes stubvert=yes \\
	name=eastern name2=central name3=mountain name4=pacific

   data5 file looks like this:
     Test 4	83	12	64	9
     Test 5	95	11	92	13
     Test 6	42	8	76	11
     Test 7	69	13	68	6
     Test 8	76	19	84	14
     Test 9	83	12	64	9
     Test 10	95	11	92	13
     Test 11	42	8	76	11
     Test 12	69	13	68	6
.fi
     


.ig >>
<hr>
<h2><a href="prefab_vbars.html">vbars</a></h2>
.>>

.LP
These examples use the
.ig >>
<a href="prefab_vbars.html">
.>>
\0vbars prefab
.ig >>
</a>
.>>
and are included in the distribution (\fC./pltestsuite/testpf_vbars\fR)


.ig >>
<br><br><br>
.>>

.SH vbars example 1
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vbars1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
  pl  -prefab vbars  data=data4  delim=tab  x=1  y=2  vals=yes\\
       yrange=0  yinc=20  ygrid=yes  barwidth=0.3 

	data4 file:
		Group A	78	7
		Group B	84	12
		Group C	56	6

.fi
.SH vbars example 2
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vbars2.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab vbars  data=data5  delim=tab  x=1  y=2  err=3  \\
   y2=4  err2=5  errunder=yes  ygrid=yes  barwidth=0.1  \\
     name=Treatment  name2=Control stubvert=yes 

    data5 file:
	Test 3	76	19	84	14
	Test 4	83	12	64	9
	Test 5	95	11	92	13
	...etc..

.fi
.SH vbars example 3
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vbars3.gif"></td></tr>
</table></center>
.>>
.LP
.nf
  pl -prefab vbars  data=data5  delim=tab  x=1  y=2  err=3  y2=4  \\
  err2=5   erronly=yes   name=Treatment  name2=Control  stubvert=yes \\
  errcolor=red  errcolor2=blue  sep=0.08  xgrid=yes  ylog=log

.fi

.SH vbars example 4
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vbars4.gif"></td></tr>
</table></center>
.>>
.nf
   pl -prefab vbars  data=data18  x=1  y=2  crossover=0  \\
   color=blue  vals=yes

   The data18 file:
	1992	-47
	1993	-63
	1994	-24
	1995	12
	..etc.
.fi


.ig >>
<hr>
<h2><a href="prefab_vdist.html">vdist</a></h2>
.>>

.LP
These examples use 
.ig >>
<a href="prefab_vdist.html">
.>>
\0the vdist prefab.
.ig >>
</a>
.>>
They are included in the distribution (\fC./pltestsuite/testpf_vdist\fR).
All examples use data from the \fCdata6\fR and \fCdata6b\fR files having one
field containing several hundred numeric values.


.ig >>
<br><br><br>
.>>

.SH vdist example 1
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vdist1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
    pl -prefab vdist data=data6 y=1 

.fi

.ig >>
<br><br><br>
.>>

.SH vdist example 2
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vdist2.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab vdist data=data6 y=1  mediansym=dot  dist=hist \\
	showoutliers=yes 

.fi
.ig >>
<br><br><br>
.>>

.SH vdist example 3
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/vdist3.gif"></td></tr>
</table></center>
.>>
.LP
.nf

   pl  -prefab vdist   data=data6 data2=data6b   y=1 y2=1   dist=hist \\
	title="Set 1"   title2="Set 2" 

.fi



