Sophie

Sophie

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

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

<html>
<head>
<!-- This file has been generated by unroff 1.0, 03/11/09 12:56:13. -->
<!-- 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: controlling ploticus from other programs (automation)</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>controlling ploticus from other programs (automation)</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 controlling_ploticus_from_other_programs_(automation)(PL)</title>
</head>
<body>

<h2>DESCRIPTION</h2>
Notes on executing ploticus under the control of another program
in an automated way.<tt> </tt>

<h2>STRATEGY</h2>
<p>
As of version 2.00, pl can be
<a href="cgi.html">
 directly invoked as a CGI program
</a>
<p>
A 
<a href="../download/ploticus.perl">
perl script 
</a>
which implements a web interface to ploticus was
contributed by Tom McClure.<tt> </tt>
<p>
Since it is a command-line program, 
<b>ploticus</b> can easily be invoked by other programs
automatically for unattended use.<tt> </tt>
For instance, web server CGI scripts can invoke <b>pl</b>
to build PNG or GIF data displays on demand.  Or <b>pl</b> may be invoked 
by <b>cron</b> to produce plots on a regular basis.<tt> </tt>
<p>
The invoking program can build a ploticus script on the fly,
or use one that has been created in advance.<tt> </tt>
<p>
The actual invocation can be done using the equivalent of
<tt>system()</tt>.  For example, in C:
<dl>
<dt><dd><p>
<tt>system( "pl -gif myfile.p ITEM=hgxz" );</tt>


</dl>
<h2>VARIABLES</h2>
Variables may be useful for implementation of 
changeable paramters (the invoking program
would execute <b>pl</b> and set variables
on the command line).<tt> </tt>
For example: 
<p>
<tt>pl -gif status.p STARTDATE=010198 ENDDATE=062699 GROUP=hgc</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 &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>