.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: program limitations</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>program limitations</h2></td>
  <td align=right>
  <small>
  <a href="../doc/Welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  <a href="../doc/Welcome.html">Welcome</a> &nbsp; &nbsp;
  <a href="../gallery/index.html">Gallery</a> &nbsp; &nbsp;
  <a href="../doc/Contents.html">Handbook</a> 
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH program_limitations PL "11-APR-2003   PL ploticus.sourceforge.net"

.SH CAPACITY LIMITS
Ploticus has these capacity limitations.
The corresponding \fC#define\fR is shown in parentheses.
Most are defined in \fCpl.h\fR or \fCtdhkit.h\fR and can be safely raised
if necessary (then do: \fCmake clean; make\fR).

.ig >>
<br><br>
.>>
.IP \(bu
Default max total number of data fields (all data rows): 200,000 fields (MAXD).
This limit is dynamic and can be raised using command line option \fC-maxfields\fR.

.ig >>
<br><br>
.>>
.IP \(bu
Default max number of data rows: 10,000 rows (MAXDROWS).
This limit is dynamic and can be raised using command line option \fC-maxrows\fR.

.ig >>
<br><br>
.>>
.IP \(bu
Default maximum total number of lines in currently active procs: 5000 lines (MAXPROCLINES).
This limit is dynamic and can be raised using command line option \fC-maxproclines\fR.
"Currently active procs" are the current proc, any \fC#saved\fR procs, and any \fBproc getdata\fR
that have embedded \fCdata:\fR.

.ig >>
<br><br>
.>>
.IP \(bu
Default maximum number of elements in the data vector: 100,000.  This is used by proc rangebar
median computation (1 element per data point); proc lineplot, scatterplot, and curvefit (2 elements
per data point); and proc rangesweep (3 elements per data point).
This limit is dynamic and can be raised using command line option \fC-maxvector\fR.

.ig >>
<br><br>
.>>
.IP \(bu
Max length of a line in a ploticus script: 3000 chars before & after variable evaluation
(SCRIPTLINELEN)

.ig >>
<br><br>
.>>
.IP \(bu
Max length of variable contents: 250 chars
(VARMAXLEN)

.ig >>
<br><br>
.>>
.IP \(bu
Max length of data field: 250 chars
(DATAMAXLEN)

.ig >>
<br><br>
.>>
.IP \(bu
Max length of input data record: 2998 chars
(MAXRECORDLEN)

.ig >>
<br><br>
.>>
.IP \(bu
Max length of field names and variable names: 48 chars
(NAMEMAXLEN)

.ig >>
<br><br>
.>>
.IP \(bu
Default max number of scale categories in X: 250; in Y: 250
(MAXNCATS).
As of version 2.11 this limit is dynamic and can be overridden using 
.ig >>
<a href="categories.html">
.>>
\0proc categories listsize attribute
.ig >>
</a>
.>>

.ig >>
<br><br>
.>>
.IP \(bu
Max number of points from which to compute a 
moving average or regression curve in proc curvefit: 5000.  
Bspline curve: 100.
(see proc_curvefit.c)

.ig >>
<br><br>
.>>
.IP \(bu
Max number of pie graph slices: 80

.ig >>
<br><br>
.>>
.IP \(bu
Max number of points in polygon (including line plot w area under curve filled): 1000
(MAX_D_ROWS)

.ig >>
<br><br>
.>>
.IP \(bu
proc tabulate limits: 200 rows, 200 columns, 200 ranges, comparison significance is 38 characters.
(see proc_tabulate.c)

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

.SH SYSTEM RESOURCES
By default, the max amount of CPU time allowed is 30 seconds (CPULIMIT).
This is enforced using setrlimit(), and a core dump occurs when 
the limit is exceeded.  This limit may be modified by using
.ig >>
<a href="settings.html">
.>>
\0proc settings
.ig >>
</a>
.>>
,
in your
.ig >>
<a href="config.html">
.>>
\0config file
.ig >>
</a>
.>>
or by directly modifying pl.h 

.ig >>
<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>
.>>
