Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | plotter | |
Tool | pgplotmanager |
include 'pgplotmanager.g' f := frame(); pg := pgplotmanager(pgplot(f)); x := 1:100; y := x*x; pg.plotxy(x,y,xtitle='XX', ytitle='YY', title='TITLE'); pg.plotxy(x+10, y, F, F);
include 'pgplotmanager.g' f := frame(); pg := pgplotmanager(pgplot(f)); x := 1:100; y := sqrt(x); pgmask := array(T,100) pgmask[20:30] := F pgmask[50:55] := F pg.plotxy(x,y,mask=pgmask);
x | X values | ||
Allowed: | non-complex numeric array | ||
y | y values | ||
Allowed: | non-complex numeric array | ||
plotlines | Plot lines (T) or points (F) | ||
Allowed: | boolean | ||
Default: | T | ||
newplot | Start a new plot (T) or overplot (F) | ||
Allowed: | boolean | ||
Default: | T | ||
xtitle | x axis title (ignored if newplot is F) | ||
Allowed: | string | ||
Default: | none | ||
ytitle | y axis title (ignored if newplot is F) | ||
Allowed: | string | ||
Default: | none | ||
title | plot title (ignored if newplot is F) | ||
Allowed: | string | ||
Default: | none | ||
linecolor | color index for lines or points | ||
Allowed: | integer | ||
Default: | 2 | ||
ptsymbol | symbol index (used if plotlines=F) | ||
Allowed: | integer | ||
Default: | 2 | ||
mask | mask for eliminating bad data points (T for good data, F for masked data) | ||
Allowed: | boolean array | ||
Default: | none |