<html> <head> <!-- This file has been generated by unroff 1.0, 03/11/09 12:56:17. --> <!-- 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: 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> Version 2.41 Mar2009 <td></tr></table> </td></tr> <td> <br> <br> <title>Manual page for program_limitations(PL)</title> </head> <body> <h2>System resource limitations</h2> On Unix/linux, the default max amount of CPU time allowed is 30 seconds which is enforced using setrlimit(), and a core dump occurs when the limit is exceeded. This limit may be modified by using <a href="settings.html"> proc settings, </a> or in your <a href="config.html"> config file </a> or by directly modifying pl.h (CPULIMIT) <br><br><br> <h2>Date arithmetic</h2> The date arithmetic package can handle dates as far back as 1754.<tt> </tt> Date scaling using omitweekends mode is not supported (and gives incorrect results) for dates before Jan 1, 1970.<tt> </tt> <br><br><br> <h2>Capacity limits</h2> Ploticus has these capacity limitations. Many of them are actually dynamic and can be overridden using command line arguments (etc).<tt> </tt> Unless otherwise noted these are #defined in <tt>pl.h</tt> or <tt>tdhkit.h</tt> (the relevant <tt>#define</tt> is shown in parentheses) and can be safely raised if necessary (then do: <tt>make clean; make</tt>).<tt> </tt> <br><br> <p> <b>Data</b> <br><br> <ul> <li> Default max number of data rows: 10,000 rows (MAXDROWS).<tt> </tt> This limit is dynamic and can be raised using command line option <tt>-maxrows</tt>.<tt> </tt> <br><br> <li> Default max total number of individual data fields: 200,000 fields (MAXD).<tt> </tt> This is the number of data fields per row, times number of rows. It is used to allocate storage for pointers, one per data item.<tt> </tt> This limit is dynamic and can be raised using command line option <tt>-maxfields</tt>.<tt> </tt> <br><br> <li> Default maximum number of elements in the data vector: 100,000. The "data vector" is used by proc processdata 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).<tt> </tt> This limit is dynamic and can be raised using command line option <tt>-maxvector</tt>.<tt> </tt> <br><br> <li> <b>Example:</b> suppose you have a data set with 58,000+ rows, and each row has 10 fields.<tt> </tt> You are doing scatterplots, so the plotting vector requires 2 ⋅ 58,000 cells. You would set capacities like this: <br> <tt>pl ... -maxrows 60000 -maxfields 600000 -maxvector 120000</tt> <br><br> <li> Max length of data field: 250 chars (DATAMAXLEN) <br><br> <li> Max length of input data record: 2998 chars (MAXRECORDLEN) <br><br><br> </ul> <p> <b>Scripts</b> <br><br> <ul> <li> Default maximum total number of lines in currently active procs: 5000 lines (MAXPROCLINES).<tt> </tt> This limit is dynamic and can be raised using command line option <tt>-maxproclines</tt>.<tt> </tt> "Currently active procs" are the current proc, any <tt>#saved</tt> procs, and any <b>proc getdata</b> having an embedded <tt>data:</tt> statement. The maximum number of "currently active procs" is 40 (MAXOBJ) <br><br> <li> Max length of a line in a ploticus script: 3000 chars before & after variable evaluation (SCRIPTLINELEN) <br><br> <li> Max number of variables: 200 (MAXVAR) <br><br> <li> Max length of variable contents: 250 chars (VARMAXLEN) <br><br> <li> Max length of field names, variable names, category names, proc & attribute names: 48 chars (NAMEMAXLEN) <br><br><br> </ul> <p> <b>Other</b> <br><br> <ul> <li> Max length of a file pathname is generally 250 characters.<tt> </tt> <br><br> <li> Default max number of scale categories in X: 250; in Y: 250 (MAXNCATS).<tt> </tt> This limit is dynamic and can be overridden using <a href="categories.html"> proc categories listsize attribute </a> <br><br> <li> Max number of points from which to compute a moving average or regression curve in proc curvefit is 1000 points, a dynamic limit that can be raised by specifying proc curvefit's maxinpoints attribute, or by raising MAXPTS in proc_curvefit.c <br><br> <li> Max number of points from which to compute a bspline curve is 100 points (see proc_curvefit.c).<tt> </tt> <br><br> <li> Max number of pie graph slices: 80 <br><br> <li> proc tabulate limits: 200 rows, 200 columns, 200 ranges, comparison significance is 38 characters.<tt> </tt> (see proc_tabulate.c) <br><br> <li> Max length of a color specification: 38 chars.<tt> </tt> <br><br> <li> Under X11, SWF, and PNG/GIF/JPEG there's a limit of 500 points for a polygon (filled lineplots and rangesweeps are made up of many 4-sided polygons, so this limit doesn't apply to these), and with SWF there's a limit of 500 points for any one continuous line.<tt> </tt> Can be raised using command line option <tt>-maxdrawpoints</tt>.<tt> </tt> <br><br> <li> In proc lineplot, there's a maximum of 200 data points that can use the alternative data point symbol.<tt> </tt> (in versions prior to 2.33 the limit is 100) <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> </ul> <p><hr> Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>March 11, 2009. </body> </html>