File: cmdrefcard.tex

package info (click to toggle)
gri 2.12.26-1
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 5,952 kB
  • ctags: 2,396
  • sloc: cpp: 36,598; sh: 4,196; lisp: 3,764; perl: 1,362; ansic: 1,046; makefile: 606
file content (902 lines) | stat: -rw-r--r-- 23,275 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
% scp cmdrefcard.ps dankelley@gri.sourceforge.net:/home/groups/g/gr/gri/htdocs

\def\griversion{2.8}
\def\date{2001 July 30}

% Reference Card for Gri
%**start of header
\hbadness=10000
\vbadness=10000
\newcount\columnsperpage

% This file can be printed with 1, 2, or 3 columns per page (see below).
% Specify how many you want here.  Nothing else needs to be changed.

\columnsperpage=3

% This file is intended to be processed by plain TeX (TeX82).
%
% The final reference card has six columns, three on each side.
% This file can be used to produce it in any of three ways:
% 1 column per page
%    produces six separate pages, each of which needs to be reduced to 80%.
%    This gives the best resolution.
% 2 columns per page
%    produces three already-reduced pages.
%    You will still need to cut and paste.
% 3 columns per page
%    produces two pages which must be printed sideways to make a
%    ready-to-use 8.5 x 11 inch reference card.
%    For this you need a dvi device driver that can print sideways, e.g.,
%      lw -land griref.dvi
% Which mode to use is controlled by setting \columnsperpage above.
%
% Author:
%  Dan Kelley (copied from a Unix reference card written by Steven Matheson)
%  Internet: matehson@open.dal.ca
%
% Note by Peter Galbraith, July 2001:  It's pretty obvious to me that Steve
% based his reference card on emacs' refcard written by Stephen Gildea.
%  Therefore, this file is a derived product and is licensed under the GPL.

\def\shortnotice{\vskip 1ex plus 2 fill
  \centerline{\small Gri version \versionnumber}}

\def\notice{
\vskip 1ex plus 2 fill\begingroup\small
\centerline{(c) 2001, Dan E. Kelley}
See also {\it refcard}, an overview of Gri.
\endgroup}

% make \bye not \outer so that the \def\bye in the \else clause below
% can be scanned without complaint.
\def\bye{\par\vfill\supereject\end}

\newdimen\intercolumnskip
\newbox\columna
\newbox\columnb

\def\ncolumns{\the\columnsperpage}

\message{[\ncolumns\space 
V  column\if 1\ncolumns\else s\fi\space per page]}

\def\scaledmag#1{ scaled \magstep #1}

% This multi-way format was designed by Stephen Gildea
% October 1986.
\if 1\ncolumns
  \hsize 4in
  \vsize 10in
  \voffset -.7in
  \font\titlefont=\fontname\tenbf \scaledmag3
  \font\headingfont=\fontname\tenbf \scaledmag2
  \font\smallfont=\fontname\sevenrm
  \font\smallsy=\fontname\sevensy

  \footline{\hss\folio}
  \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else
  \hsize 3.2in
  \vsize 7.95in
  \hoffset -.75in
  \voffset -.745in
  \font\titlefont=cmbx10 \scaledmag2
  \font\headingfont=cmbx10 \scaledmag1
  \font\subheadingfont=cmbx10 \scaledmag0
  \font\smallfont=cmr6
  \font\smallsy=cmsy6
  \font\eightrm=cmr8
  \font\eightbf=cmbx8
  \font\eightit=cmti8
  \font\eighttt=cmtt8
  \font\eightsy=cmsy8
  \textfont0=\eightrm
  \textfont2=\eightsy
  \def\rm{\eightrm}
  \def\bf{\eightbf}
  \def\it{\eightit}
  \def\tt{\eighttt}
  \normalbaselineskip=.8\normalbaselineskip
  \normallineskip=.8\normallineskip
  \normallineskiplimit=.8\normallineskiplimit
  \normalbaselines\rm           %make definitions take effect

  \if 2\ncolumns
    \let\maxcolumn=b
    \footline{\hss\rm\folio\hss}
    \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  \else \if 3\ncolumns
    \let\maxcolumn=c
    \nopagenumbers
  \else
    \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
    \errmessage{Illegal number of columns per page}
  \fi\fi

  \intercolumnskip=.46in
  \def\abc{a}
  \output={%
      % This next line is useful when designing the layout.
      %\immediate\write16{Column \folio\abc\space starts with \firstmark}
      \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
      \else\if a\abc
        \global\setbox\columna\columnbox \global\def\abc{b}
        %% in case we never use \columnb (two-column mode)
        \global\setbox\columnb\hbox to -\intercolumnskip{}
      \else
        \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  \def\multicolumnformat{\shipout\vbox{\makeheadline
      \hbox{\box\columna\hskip\intercolumnskip
        \box\columnb\hskip\intercolumnskip\columnbox}
      \makefootline}\advancepageno}
  \def\columnbox{\leftline{\pagebody}}

  \def\bye{\par\vfill\supereject
    \if a\abc \else\null\vfill\eject\fi
    \if a\abc \else\null\vfill\eject\fi
    \end}  
\fi

% we won't be using math mode much, so redefine some of the characters
% we might want to talk about
\catcode`\^=12
\catcode`\_=12

\chardef\\=`\\
\chardef\{=`\{
\chardef\}=`\}

\hyphenation{mini-buf-fer}

\parindent 0pt
\parskip 1ex plus .5ex minus .5ex

\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}

\def\n{\hfil\break}

\outer\def\newcolumn{\vfill\eject}

\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}

\outer\def\section#1{\par\filbreak
  \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  \vskip 2ex plus 1ex minus 1.5ex}

\outer\def\subsection#1{\par\filbreak
  \vskip 3ex plus 2ex minus 2ex {\subheadingfont #1}\mark{#1}%
  \vskip 2ex plus 1ex minus 1.5ex}

\newdimen\keyindent

\def\beginindentedkeys{\keyindent=1em}
\def\endindentedkeys{\keyindent=0em}
\endindentedkeys

\def\paralign{\vskip\parskip\halign}

\def\<#1>{$\langle${\rm #1}$\rangle$}

\def\kbd#1{{\tt#1}\null}        %\null so not an abbrev even if period follows

\def\beginexample{\par\leavevmode\begingroup
%17feb93  \obeylines\obeyspaces\parskip0pt\tt}
  \obeylines\obeyspaces\parskip0pt\vskip-12pt\tt}
{\obeyspaces\global\let =\ }
\def\endexample{\endgroup}

\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.65\hsize\rightskip=1em
  \hskip\keyindent\relax#1}\kbd{#2}\hfil}}

\newbox\metaxbox
\setbox\metaxbox\hbox{\kbd{M-x }}
\newdimen\metaxwidth
\metaxwidth=\wd\metaxbox

\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  {\hskip\keyindent\relax#1\hfil}%
  \hskip -\metaxwidth minus 1fil
  \kbd{#2}\hfil}}

\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
  &\kbd{#3}\quad\cr}

%**end of header

\tolerance=10000
\title{Overview of Gri \griversion$\,$Commands}
\raggedright

\section{1\quad Introduction}
This reference card describes the commands in version \griversion\ of
the Gri plotting language.  See also the companion ``Gri Reference
Card'' and the online manuals.

\section{2\quad Control Statements}

\subsection{2.1\quad If Statements}
The {\tt if} statement has ancillary {\tt else if} and {\tt else}
statements, and is ended by the {\tt end if} statement, e.g.
\beginexample
if $\lbrace$rpn .x. 10 >$\rbrace$
    show "The variable .x. is less than 10"
else if $\lbrace$rpn .x. 20 >$\rbrace$
    show "The variable .x. is between 10 and 20"
else
   show "The variable .x. is greater than 20"
end if
\endexample


\subsection{2.2\quad Loops}
{\tt while} loops are provided.  The statements between {\tt while}
and {\tt end while} are repeated until the RPN expression on the {\tt
while} commandline is false.

Here is an infinite loop ended -- by a {\tt break} statement -- when
the file contents are exhausted:
\beginexample
while 1
    read .x. .y.
    if ..eof..
        break
    end if
    show ".x. is " .x.
end while
\endexample

Here is a loop that will print the numbers 0, 1, ..., 9.
\beginexample
.i. = 0
while $\lbrace$rpn .i. 10 >$\rbrace$
    show .i.
    .i. += 1
end while
\endexample



\section{3\quad List of Gri Commands}

What follows is a complete list of built-in Gri commands.  For more
help on a given command, see the full manual, or use the Gri online
help facitilty (e.g., type {\tt gri} to launch Gri, then type {\tt
help}; exit by typing

The notation is as follows.  

$\bullet$ Items written within square brackets are optional.

$\bullet$ Items written within dots are either raw numbers, RPN
expressions, or variable names.

$\bullet$ Items preceeded by backslashes are any given string.

$\bullet$ Items separated by vertical bars are alternatives.

$\bullet$ Curly brackets group words that must appear together.

Thus, for example, the syntax
\beginexample
    set dash [.n.$\mid$$\lbrace$.dash. .blank.$\rbrace$$\mid$off]
\endexample
means that {\tt set dash} is a possible Gri command (meaning use the
default dash style).  Several forms of optional items may be present
also.  For example, {\tt set dash 2} is legal; it means use the dash
style numbered 2.  Gri will check any single number presented in this
place on this command against the list of acceptable {\tt .n.} values.
If two numbers are present, Gri interprets the first as the length of
dashes and the second as the length of blanks; notice the braces,
indicating that these two parameters must appear together.  Finally,
the keyword {\tt off} is allowed (it means go back to a solid line).


\bigskip
Here are the commands:
\smallskip

\parindent -1ex

\beginexample

% INSERT stuff from cmdrefcard.pl schellscript here (to line 'end of INSERT')

assert .condition. ["message"]

cd [$\backslash$pathname]

close [$\backslash$filename]

convert columns to grid [neighbor $\mid$ $\lbrace$objective$\mid$boxcar .xr. .yr. [.n. .e.]$\rbrace$ $\mid$ $\lbrace$barnes [.xr. .yr. .gamma. .iter.]$\rbrace$]

convert columns to spline [.gamma.] [.xmin. .xmax. .xinc.]

convert grid to columns

convert grid to image [size .width. .height.] [box .ll\_x. .ll\_y. .ur\_x. .ur\_y.]

convert image to grid

create columns from function

create image grayscale banded .band.

create image greyscale banded .band.

debug [.n.] $\mid$ [clipped values in draw commands] $\mid$ off

delete $\lbrace$.variable. $\mid$ $\backslash$synonym [...]$\rbrace$ $\mid$ columns [$\lbrace$randomly .fraction.$\rbrace$$\mid$$\lbrace$where missing$\rbrace$] $\mid$ grid $\mid$ $\lbrace$[x$\mid$y] scale$\rbrace$

differentiate $\lbrace$x$\mid$y wrt index$\mid$y$\mid$x$\rbrace$ $\mid$ $\lbrace$grid wrt x$\mid$y$\rbrace$

draw arrow from .x0. .y0. to .x1. .y1. [cm]

draw arrows

draw axes if needed

draw axes [.style.$\mid$frame$\mid$none]

draw border box [.ll\_x. .ll\_y. .ur\_x. .ur\_y. .width\_cm. .brightness.]

draw box filled .ll\_x. .ll\_y. .ur\_x. .ur\_y. [cm]

draw box .ll\_x. .ll\_y. .ur\_x. .ur\_y. [cm]

draw circle with radius .r\_cm. at .x\_cm. .y\_cm.

draw contour [$\lbrace$.value. [unlabelled$\mid$$\lbrace$labelled "$\backslash$label"$\rbrace$]$\rbrace$ $\mid$ $\lbrace$.min. .max. .inc. [.inc\_unlabelled.] [unlabelled]$\rbrace$]

draw curve overlying

draw curve filled [to $\lbrace$.y. y$\rbrace$ $\mid$ $\lbrace$.x. x$\rbrace$]

draw curve

draw essay "text"$\mid$reset

draw gri logo .x\_cm. .y\_cm. .height\_cm. .style. $\backslash$fgcolor $\backslash$bgcolor

draw grid

draw image palette [axisleft$\mid$axisright$\mid$axistop$\mid$axisbottom] [left .left. right .right. [increment .inc.]] [box .ll\_x\_cm. .ll\_y\_cm. .ur\_x\_cm. .ur\_y\_cm.]

draw image grayscale [left .left. right .right. [increment .inc.]] [box .ll\_x\_cm. .ll\_y\_cm. .ur\_x\_cm. .ur\_y\_cm.]

draw image histogram [box .ll\_x\_cm. .ll\_y\_cm. .ur\_x\_cm. .ur\_y\_cm.]

draw image

draw isopycnal [unlabelled] .density. [.P\_sigma. [.P\_theta.]]

draw isospice .spice. [unlabelled]

draw label boxed "$\backslash$string" at .ll\_x. .ll\_y. [cm]

draw label whiteunder "$\backslash$string" at .ll\_x. .ll\_y. [cm]

draw label for last curve "label"

draw label "$\backslash$string" [centered$\mid$rightjustified] at .x. .y. [cm] [rotated .deg.]

draw line from .x0. .y0. to .x1. .y1. [cm]

draw line legend "label" at .x. .y. [cm] [length .cm.]

draw lines $\lbrace$vertically .left. .right. .inc.$\rbrace$ $\mid$ $\lbrace$horizontally .bottom. .top. .inc.$\rbrace$

draw patches .width. .height. [cm]

draw polygon [filled] .x0. .y0. .x1. .y1. .x2. .y2. [...]

draw regression line [clipped]

draw symbol legend $\backslash$symbol\_name "label" at .x. .y. [cm]

draw symbol [.code.$\mid$$\backslash$name [at .x. .y. [cm]] [graylevel z]$\mid$[color [hue z$\mid$.h.] [brightness z$\mid$.b.] [saturation z$\mid$.s.]]]

draw time stamp [fontsize .points. [at .x\_cm. .y\_cm. cm [with angle .deg.]]]

draw title "$\backslash$string"

draw values [.dx. .dy.] [$\backslash$format] [separation .xcm. .ycm.]

draw x axis [at bottom$\mid$top$\mid$$\lbrace$.y. [cm]$\rbrace$ [lower$\mid$upper]]

draw x box plot at .y. [size .cm.]

draw y axis [at left$\mid$right$\mid$$\lbrace$.x. cm$\rbrace$ [left$\mid$right]]

draw y box plot at .x. [size .cm]

draw zero line [horizontally$\mid$vertically]

expecting version .n.

filter column x$\mid$y$\mid$z$\mid$u$\mid$v recursively .a0. .a1. ... .b0. .b1. ...

filter grid rows$\mid$columns recursively .a0. .a1. ... .b0. .b1. ...

filter image highpass$\mid$lowpass

flip grid$\mid$image x$\mid$y

get env $\backslash$result $\backslash$environment\_variable

heal columns$\mid$$\lbrace$grid along x$\mid$y$\rbrace$

help [*$\mid$command\_name$\mid$$\lbrace$- topic$\rbrace$]

if $\lbrace$[!] .flag.$\rbrace$$\mid$$\backslash$flag$\mid$$\lbrace$$\lbrace$"string1" == "string2"$\rbrace$$\rbrace$

ignore last .n.

input $\backslash$ps\_filename [.xcm. .ycm. [.xmag. .ymag. [.rot\_deg.]]]

insert $\backslash$filename

interpolate x$\mid$y grid to ...

list $\backslash$command-syntax

ls [$\backslash$file\_specification]

mask image [to $\lbrace$uservalue .u.$\rbrace$$\mid$$\lbrace$imagevalue .i.$\rbrace$]

new page

new postscript file $\backslash$name

new .variable\_name.$\mid$$\backslash$synonym\_name [.variable\_name.$\mid$$\backslash$synonym\_name [...]]

open $\lbrace$$\backslash$filename$\rbrace$$\mid$$\lbrace$"system command$\mid$"$\rbrace$ $\lbrace$[binary [uchar$\mid$int$\mid$float$\mid$double$\mid$16bit]]$\rbrace$$\mid$$\lbrace$netCDF$\rbrace$

postscript $\backslash$string

pwd

query $\backslash$synonym$\mid$.variable ["$\backslash$prompt" [("$\backslash$default"$\mid$.default)]]

quit [.exit\_status.]

read colornames from RGB $\backslash$filename

read columns ...

read grid $\lbrace$x [.rows.$\mid$$\lbrace$="name"$\rbrace$]$\rbrace$$\mid$$\lbrace$y [.cols.]$\lbrace$="name"$\rbrace$$\rbrace$$\mid$$\lbrace$data $\lbrace$[spacers] [.rows. .cols.] [spacers] [bycolumns]$\rbrace$$\mid$$\lbrace$="name"$\rbrace$$\rbrace$

read grid x [.rows.]

read grid y [.rows.]

read grid data [spacers] [.rows. .cols.] [spacers] [bycolumns]

read grid x = "variable name"

read grid y = "variable name"

read grid data = "variable name"

set x grid', `set y grid

read grid x' sets `$\backslash$.return\_value to `N cols

read grid y' sets `$\backslash$.return\_value' to `N rows

read grid data' sets `$\backslash$.return\_value to `N rows N cols

read image colorscale [rgb$\mid$hsb]

read image grayscale

read image greyscale

read image mask rasterfile

read image mask .rows. .cols.

read image pgm [box .ll\_x. .ll\_y. .ur\_x. .ur\_y.]

read image rasterfile [box .ll\_x. .ll\_y. .ur\_x. .ur\_y.]

read image .rows. .cols. [box .ll\_x. .ll\_y. .ur\_x. .ur\_y.] [bycolumns]

read from $\backslash$filename

read line [raw] $\backslash$synonym

read [raw] [* [*...]] $\backslash$synonym$\mid$$\lbrace$.variable. [.variable. ...]$\rbrace$

read [* [*...]] $\backslash$synonym$\mid$$\lbrace$.variable. [.variable. ...]$\rbrace$

regress $\lbrace$y vs x [linear]$\rbrace$$\mid$$\lbrace$x vs y [linear]$\rbrace$

reorder columns randomly$\mid$$\lbrace$ascending in x$\mid$y$\mid$z$\rbrace$$\mid$$\lbrace$descending in x$\mid$y$\mid$z$\rbrace$

rpnfunction $\backslash$name "action"

rescale

resize x for maps

resize x for maps

resize y for maps

resize y for maps

return

rewind [filename]

set axes style .style. $\mid$ $\lbrace$offset [.dist\_cm.]$\rbrace$ $\mid$ rectangular $\mid$ none $\mid$ default

set axes style 0

set axes style 1

set axes style 2

set axes style offset [.dist\_cm.]

set axes style rectangular

set axes style none

set axes style default

set arrow size .size.$\mid$$\lbrace$as .num. percent of length$\rbrace$$\mid$default

set arrow size .size.

set arrow size as .num. percent of length

set arrow size default

set arrow type .which.

set beep on$\mid$off

set bounding box .ll\_x. .ll\_y. .ur\_x. .ur\_y. [cm$\mid$pt]

set clip [postscript] $\lbrace$on [.xleft. .xright. .ybottom. .ytop.]$\rbrace$$\mid$off

set clip on

set clip on .xleft. .xright. .ybottom. .ytop.

set clip off

set clip postscript on .xleft. .xright. .ybottom. .ytop.

set clip postscript off

set color $\backslash$name$\mid$$\lbrace$rgb .red. .green. .blue.$\rbrace$$\mid$$\lbrace$hsb .hue. .saturation. .brightness.$\rbrace$

set colour $\backslash$name$\mid$$\lbrace$rgb .red. .green. .blue.$\rbrace$$\mid$$\lbrace$hsb .hue. .saturation. .brightness.$\rbrace$

set colorname $\backslash$$\backslash$name $\lbrace$rgb .red. .green. .blue.$\rbrace$$\mid$$\lbrace$hsb .hue. .saturation. .brightness.$\rbrace$

set contour format $\backslash$style$\mid$default

set contour label for lines exceeding .x. cm

set contour label position $\lbrace$.start\_cm. .between\_cm.$\rbrace$$\mid$centered$\mid$default

set contour labels rotated$\mid$horizontal$\mid$whiteunder$\mid$nowhiteunder

set dash [.type.$\mid$$\lbrace$.dash\_cm. .blank\_cm. ...$\rbrace$$\mid$off]

set environment

set error action to core dump

set flag $\backslash$name [off]

set font color $\backslash$name$\mid$$\lbrace$rgb .red. .green. .blue.$\rbrace$$\mid$$\lbrace$hsb .hue. .saturation. .brightness.$\rbrace$

set font colour $\backslash$name$\mid$$\lbrace$rgb .red. .green. .blue.$\rbrace$$\mid$$\lbrace$hsb .hue. .saturation. .brightness.$\rbrace$

set font encoding PostscriptStandard $\mid$ isolatin1

set font size $\lbrace$.size. [cm]$\rbrace$$\mid$default

set font size .size.

set font size .size. cm

set font size default

set font to $\backslash$fontname

set graylevel .brightness.$\mid$white$\mid$black

set greylevel .brightness.$\mid$white$\mid$black

set grid missing $\lbrace$above$\mid$below .intercept. .slope.$\rbrace$$\mid$$\lbrace$inside curve$\rbrace$

set grid missing above$\mid$below .intercept. .slope

set grid missing inside curve

set ignore initial newline [off]

set ignore error eof

set image colorscale ...

set image colourscale ...

set image grayscale using histogram [black .bl. white .wh.]

set image greyscale using histogram [black .bl. white .wh.]

set image grayscale [black .bl. white .wh. [increment .inc.]]

set image greyscale [black .bl. white .wh. [increment .inc.]]

set image missing value color to white$\mid$black$\mid$$\lbrace$graylevel .brightness.$\rbrace$$\lbrace$rgb .red. .green. .blue.$\rbrace$

set image missing value colour to white$\mid$black$\mid$$\lbrace$graylevel .brightness.$\rbrace$

set image range .min\_value. .max\_value.

set input data window x$\mid$y $\lbrace$.min. .max.$\rbrace$$\mid$off

set input data window x .min. .max.

set input data window x off

set input data window y .min. .max.

set input data window y off

set input data separator TAB$\mid$default

set line cap .type.

set line join .type.

set line width [axis$\mid$symbol$\mid$all] .width\_pt.$\mid$$\lbrace$rapidograph $\backslash$name$\rbrace$$\mid$default

set missing value .value.

set postscript filename "$\backslash$string"

set page size letter$\mid$legal$\mid$folio$\mid$tabloid$\mid$A0$\mid$A1$\mid$A2$\mid$A3$\mid$A4$\mid$A5

set page portrait$\mid$landscape$\mid$$\lbrace$factor .mag.$\rbrace$$\mid$$\lbrace$translate .xcm. .ycm.$\rbrace$

set panel .row. .col.

set panels .rows. .cols. [.dx\_cm. .dy\_cm.]

set path to "$\backslash$path"$\mid$default for data$\mid$commands

set symbol size .diameter\_cm.$\mid$default

set symbol size .diameter\_cm.

set symbol size default

set tic size .size.$\mid$default

set tic size .size.

set tic size default

set tics in$\mid$out

set trace [on$\mid$off]

set trace

set trace on

set trace off

set u scale .cm\_per\_unit.$\mid$$\lbrace$as x$\rbrace$

set u scale .cm\_per\_unit.

set u scale as x

set v scale .cm\_per\_unit.$\mid$$\lbrace$as y$\rbrace$

set v scale .cm\_per\_unit.

set v scale as y

set x axis top$\mid$bottom$\mid$increasing$\mid$decreasing$\mid$$\lbrace$.left. .right. [.incBig. [.incSml.]]$\rbrace$$\mid$unknown

set x axis top

set x axis bottom

set x axis increasing

set x axis decreasing

set x axis .left. .right.

set x axis .left. .right. .incBig.

set x axis .left .right. .incBig. .incSml.

set x format $\backslash$format$\mid$default$\mid$off

%e' and `%g') are permitted.  For example, `set x format %.1f

set x grid .left. .right. .inc.$\mid$$\lbrace$/.cols.$\rbrace$

set x grid .left. .right. .inc.

set x grid .left. .right. /.cols.

set x margin $\lbrace$[bigger$\mid$smaller] .size.$\rbrace$ $\mid$ default

set x margin .size.

set x margin bigger .size.

set x margin smaller .size.

set x margin default

set x name "$\backslash$name"$\mid$default

set x size .width\_cm.$\mid$default

set x size .width\_cm.

set x size default

set x type linear$\mid$log$\mid$$\lbrace$map E$\mid$W$\mid$N$\mid$S$\rbrace$

set y axis label horizontal$\mid$vertical

set y axis label horizontal

set y axis label vertical

set y axis left$\mid$right$\mid$increasing$\mid$decreasing$\mid$$\lbrace$.bottom. .top. [.incBig. [.incSml.]]$\rbrace$$\mid$unknown

set y axis left

set y axis right

set y axis increasing

set y axis decreasing

set y axis .bottom. .top.

set y axis .bottom. .top. .incBig.

set y axis .bottom. .top. .incBig. .incSml.

set y format $\backslash$format$\mid$default$\mid$off

%e' and `%g') are permitted.  For example, `set y format %.1f

set y grid .bottom. .top. .inc.$\mid$$\lbrace$/.rows.$\rbrace$

set y grid .bottom. .top. .inc.

set y grid .bottom. .top. /.rows.

set y margin $\lbrace$[bigger$\mid$smaller] .size.$\rbrace$ $\mid$ default

set y margin .size.

set y margin bigger .size.

set y margin smaller .size.

set y margin default

set y name "$\backslash$name"$\mid$default

set y size .height\_cm.$\mid$default

set y size .height\_cm.

set y size default

set y type linear$\mid$log$\mid$$\lbrace$map N$\mid$S$\mid$E$\mid$W$\rbrace$

set z missing above$\mid$below .intercept. .slope.

set "..."

show all

show axes

show color

show colornames

show columns [statistics]

show flags

show grid [mask]

show hint of the day

show image

show license

show misc

show next line

show traceback

show stopwatch

show synonyms

show time

show variables

show .value. $\mid$ $\lbrace$rpn ...$\rbrace$ $\mid$ "$\backslash$text" [.value.$\mid$$\lbrace$rpn ...$\rbrace$$\mid$text [...]]

skip [forward$\mid$backward] [.n.]

sleep .sec.

smooth $\lbrace$x [.n.]$\rbrace$ $\mid$ $\lbrace$y [.n.]$\rbrace$ $\mid$ $\lbrace$grid data [.f.$\mid$$\lbrace$along x$\mid$y$\rbrace$]$\rbrace$

source $\backslash$filename

sprintf $\backslash$synonym "format" .variable. [.variable. [...]]

state save$\mid$restore$\mid$display

superuser

system $\backslash$system-command

while .test.$\mid$$\lbrace$rpn ...$\rbrace$

write columns to $\backslash$filename

write contour .value. to $\backslash$filename

write grid to $\backslash$filename [bycolumns]

write image colorscale to $\backslash$filename

write image grayscale to $\backslash$filename

write image greyscale to $\backslash$filename

write image mask [pgm$\mid$rasterfile] to $\backslash$filename

write image [pgm$\mid$rasterfile] to $\backslash$filename

unlink $\backslash$filename

?draw axes exploded

?contour xyz data

?set axes

?draw image BW raster



\endexample
% end of INSERT 
\parindent 0ex

\notice

\bye