rib - Ribbon display

Name

rib — Ribbon display

Syntax

rib [sid] | bol | vsc | [dis | map] [bol] [sav]

Description

Display the scalars as ribbon on a line with many points.

Arguments

sid [alt]

Display on one side [or the other side].

vsc x | y factor

Vary the size according to scalars in x or y direction, apply factor.

bol

Display border line.

dis | map

Display the ribbons in display or map mode.

sav

Save result as active dataset.

Examples

Ex.1: Ribbon display

# Logs can be displayed as 3d ribbons.
z                            ;# erase screen
spe bgc whi                  ;# Specify background color to white
win 0 100 0 100 0 100        ;# establish window
osc x                        ;# look from x
sta 40 60 2                  ;# stack first point
sta 55 55 22                 ;# stack second point
sta 60 50 50                 ;# stack third point
sta 55 40 72                 ;# stack fourth point
sta 50 50 96                 ;# stack fifth point
rea ter                      ;# read stack
cur sav num 111              ;# save spline curve
pol 2                        ;# display
mak ras                      ;# make random scalar
rib 2 vsc x map              ;# display in x
rib 2 vsc y map              ;# display in y
poi val fol tx2 sel 10       ;# display point values

The above example produces this image.


Ribbon display

See also

tub - Tube generation