OnWorks favicon

gri - Online in the Cloud

Run gri in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gri that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gri - scientific graphics language


gri [ OPTIONS ] [ CommandFile [ optional_arguments ]]


Gri is a programming language for scientific graphics. It can make x-y graphs, contour-
graphs, and image graphs. In addition, Gri has a full suite of low-level graphical
elements and sufficient programming capabilities (loops, subroutines, etc) to permit
complex customization.

Gri is not point-click. In some ways it is analogous to TeX. Extensive power rewards
tolerance of a modest learning curve.


If a command file (CommandFile) is named, commands are read from that file; otherwise they
are read from the keyboard. If a command file is named, then a file in which to store the
PostScript output may also be named; otherwise it is stored in a file named by
substituting the .ps extension instead of .gri in CommandFile. If no command file is
named, the output is named gri-00.ps (or gri-01.ps if gri-00.ps exists, etc).

There are 3 special forms that do no graphing:

`gri -creator postscript_file'

Extracts the Gri commands that created the Gri PostScript file.

`gri -help' or `gri -h'

Prints this help message.

`gri -version' or `gri -v'

Prints the version number of Gri.

In normal usage, where drawing is expected, Gri takes these options:

-batch or -b

Stops printing of prompts and hints.

-chatty[N] or -c[N]

Let gri print info messages

-debug or -d

Turns debugging on (sets variable ..debug.. to value 1).


Warn if any item is drawn far off a 8.5x11 inch page. (This is the default.)


Don't warn if any item is drawn far off a 8.5x11 inch page

-directory pathname

Specifies the directory where Gri looks for startup files; otherwise it looks in
/opt/gri/lib or at whatever directory is defined in configure shellscript, at
compile time.


Reports directory where gri.cmd should be found, if not supplied by -directory.


Make bounding-box be full page.


Prevent warning message if `expecting version .n.' command is missing.


Stops printing of startup message.

-publication or -p

Sets the builtin variable ..publication.. to 1; normally it is 0. One might use if
statements (`if !..publication..' ...) on drafts.

-superuser or -s

Used only by Gri programmers (who can check the value with the C function
`superuser()'.) An optional value can be supplied without spaces (e.g. `-s2') to
set the debugging level. Flags are listed below; add flags to get several actions
at once

1: print cmdline before/after substituting synonyms

2: print cmdline before/after substituting rpn expressions

4: print new commands being defined

8: print system commands and `open "... | "' commands before

they are passed to the system

128: for author's use only

256: for author's use only

Note that all flags are equal to 2 raised to an integer power. Since the flag
values are detected by a bitwise OR, you can combine flags by adding; thus
specifying a flag of 5 yields flags 1 and 4 together; specifying 15 yields flags 1,
2, 4 and 8.

-trace or -t

Makes Gri print out command lines as they are executed.

-true or -y

Makes Gri think the answer to all `query's is RETURN.

Use gri online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    FormKiQ Core is an Open Source Document
    Management System (DMS), available to
    run as a headless software or with a
    web-based client, deployed to your
    Amazon We...
    Download formkiq-core
  • 2
    Blackfriday is a Markdown processor
    implemented in Go. It is paranoid about
    its input (so you can safely feed it
    user-supplied data), it is fast, it
    supports c...
    Download Blackfriday
  • 3
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 4
    Vuls is open-source, agent-less
    vulnerability scanner based on
    information from NVD, OVAL, etc. Vuls
    uses multiple vulnerability databases
    Download Vuls
  • 5
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 6
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 7
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    Download AstrOrzPlayer
  • More »

Linux commands