| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1014 |
|
| Package | display | |
| Module | plotter | |
| Tool | pgplotter |
| x | An X vector | ||
| Allowed: | float | ||
| y | A collection of Y vectors | ||
| Allowed: | float | ||
| xlab | A label for the X axis | ||
| Allowed: | string | ||
| ylab | A label for the Y axis | ||
| Allowed: | string | ||
| tlab | A label for the plot title | ||
| Allowed: | string | ||
| plotlines | Toggle for plotting lines or points | ||
| Allowed: | Boolean | ||
| Default: | T (lines) | ||
| ptsymbol | Symbol ID | ||
| Allowed: | integer | ||
| Default: | 2 | ||
include 'pgplotter.g' pg := pgplotter(); x := 1:100; y1 := sin(x/10); y2 := sqrt(x); pg.plotxy1(x,y1,'X Index','Sine Function','Title'); pg.plotxy2(x,y2,,'SQRT Function'); pg.ptxt(105,5.5,270,0.5,'SQRT (X)');