This is a general purpose REXX program that supports a variety of options and data formats and produces output in text format.
See the HELP and SAMPLE documentation below.
The <brcode><br>The '''$PLOT.REX''' </code> REXX program makes use of '''<code>$T.REX''' </code> REXX program which is used to display text and/or write the text to a file. The <code>$T.REX</code> REXX program is included here ──► [[$T.REX]].
<br>The '''$T.REX''' REXX program is included here ──► [[$T.REX]].
<br><br>The '''<code>$PLOT.REX''' </code> REXX program makes use of '''<code>$ERR'''</code> REXX program which is used to display error messages (via '''$T'''). The <code>$ERR.REX</code> REXX program is included here ──► [[$ERR.REX]].
<br>The '''$ERR.REX''' REXX program is included here ──► [[$ERR.REX]].
<br><br>The '''<code>$PLOT.REX''' </code> REXX program makes use of '''<code>SCRSIZE'''</code> REXX program which is used to determine the screen size (via '''SCRSIZE'''). The <code>SCRSIZE.REX</code> REXX program is included here ──► [[SCRSIZE.REX]].
<br>The '''SCRSIZE.REX''' REXX program is included here ──► [[SCRSIZE.REX]].
<br><br>Some older REXXes don't have a '''<code>changestr''' </code> BIF, so one is included here ──► [[CHANGESTR.REX]].
<br><br>REXX programs not included are '''<code>$H''' </code> which shows '''help''' and other documentation.
==$PLOT.REX (REXX) program==
<syntaxhighlight lang="rexx">
<lang rexx>/*REXX program plots X or X,Y points (with/without labels). */
trace off
shorten: procedure; parse arg a,n; return left(a,max(0,length(a)-p(n 1)))
simple: return translate(arg(1),'.||--%<>AV'copies('+',25),"·│║─═☼◄►↑↓┤┐└┴┬├┼┘┌╔╗╚╝╟╢╞╡╫╪╤╧╥╨╠╣")
syntax: !sigl=sigl; call er 13,!fid(2) !fid(3) !sigl !cal() condition('D') sourceline(!sigl)</lang>
</syntaxhighlight>
==$PLOT.REX (REXX) program HELP==
|