DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T u

⟦986ad25f5⟧ TextFile

    Length: 573 (0x23d)
    Types: TextFile
    Names: »userdef.hlp«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦e0e3e8967⟧ »./gnuplot.tar.Z« 
        └─⟦01af444b1⟧ 
            └─⟦this⟧ »gnuplot/help/userdef.hlp« 

TextFile

You may define your own functions and variables.  User-defined
functions and variables may be used anywhere. 

User-defined function syntax:
    <function-name> ( <dummy-var> ) =  <expression>

Where <expression> is defined in terms of <dummy-var>.

User-defined variable syntax:
    <variable-name> = <constant-expression>

Examples:
    w = 2
    q = floor(tan(pi/2 - 0.1))
    f(x) = sin(w*x)
    sinc(x) = sin(pi*x)/(pi*x)
    delta(t) = (t == 0)
    ramp(t) = (t > 0) ? t : 0

The variable 'pi' is already defined for you.

See 'show functions' and 'show variables'.