EnglishFrenchSpanish

OnWorks favicon

pgraph - Online in the Cloud

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

This is the command pgraph 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

PROGRAM:

NAME


pgraph - compile graphs into pic input

SYNOPSIS


pgraph [ options ] [ filename ... ]

DESCRIPTION


pgraph is a perl script which takes sets of X Y data and generates a (human readable) pic
program that will produce the graphed data. The output is designed such that you can save
it in a file and tweak it to make it fit your document. Try one and look at the output.
The output is actually commented.

The graph is autosized and auto ticked.

The input data format is similar that of xgraph(1), i.e., "sloped across 1 1 2 2 3 3

"straight across 1 4 2 4 3 4

CONTROL OPTIONS


You may set the graph title, the X title, and the Y title with the following control
sequences in the data stream: %T Graph title in +4 point font %X X axis title and/or units
in +2 point font %Y Y axis title and/or units in +2 point font %fakemax-X <value>
force graph to be that big %fakemax-Y <value> force graph to be that big %fakemin-X
<value> force graph to be that small %fakemin-Y <value> force graph to be that
small

OPTIONS


-rev reverse X/Y data sense (and titles). Note this is done after processing any
fudging of the input data stream(s) (see -xk, -yk, -logx, etc below).

-below put data set titles below the graph rather than to the right.

-close no extra space around the data's endpoints.

-qline connect the quartile center points.

-grid dotted line grid marks.

-nobox no box around whole graph.

-big make the graph take the whole page, and be about 8 inches tall by 7 inches
wide and the title is +8 points.

-slide make the graph be 4.25 inches square to fit in slides, in a helvetica bold 10
point font.

-small make the graph be small, 1.75 inches square, and use an 8 point bold font.

-grapheach draw each data set in its own graph.

-nolabels no X/Y/Title labels.

-notitle no Title label.

-nodatal no data set labels.

-nomarks do not mark each data point with distinct markers (endpoints are still
marked).

-k print values larger than 1000 as value/1000.

-xk multiply X input by 1024 (blech).

-yk multiply Y input by 1024 (blech).

-xm multiply X input by 1024*1024 (blech).

-ym multiply Y input by 1024*1024 (blech).

-logx convert X input into log base 2 of X input.

-logy convert Y input into log base 2 of Y input.

EXAMPLE


Workstation price performance from a Digital ad. Process with graph -rev workstations |
groff -TX75

%T Workstation Price / Performance, 6/93 %X SPECINT 92 Performance %Y Price in $1000's
"Dec AXP line 35 5 65 10 78 15 110 70

"Sun SPARC line 25 4 25 8 38 16 48 21 52 23 64 27

QUARTILE FORMAT


Data points are x y1 y2 y3 y4 y5. You get a two lines from the first two y values, a
mark at the third, and another line from the last two.

Use pgraph online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

Ad