Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:rib}
h2. Name

*rib* — Ribbon display

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

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

{panel}

h2. Description

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

h2. Arguments

*sid* \[*alt*] 
{indent}Display on one side \[or the other side].{indent} 
*vsc x | y* _factor_ 
{indent}Vary the size according to scalars in x or y direction, apply _factor_.{indent} 
*bol* 
{indent}Display border line.{indent} 
*dis | map* 
{indent}Display the ribbons in display or map mode.{indent} 
*sav* 
{indent}Save result as active dataset.{indent} 

h2. Examples

h3. Ex.1: Ribbon display

{noformat:|borderWidth=1|bgColor=#eeeeee}
        # 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
{noformat}

The above example produces this image. 

!att:_img_ref^cmd_rib.png!
_Ribbon display_

h2. See also

[tub - Tube generation]
{pagebreak}