Changeset 38789 in project


Ignore:
Timestamp:
07/14/20 02:08:45 (4 weeks ago)
Author:
Kon Lovett
Message:

histograph label argument is optional

Location:
release/5/slib-charplot/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/5/slib-charplot/trunk/slib-charplot.egg

    r38724 r38789  
    33
    44((synopsis "The SLIB character plotting library")
    5  (version "1.1.1")
     5 (version "1.1.2")
    66 (author "Aubrey Jaffer")
    77 (maintainer "[[kon lovett]]")
  • release/5/slib-charplot/trunk/slib-charplot.scm

    r38724 r38789  
    5959            ((number -> float) #!optional number number fixnum -> void)))
    6060
    61 (: histograph (histdata string -> void))
     61(: histograph (histdata #!optional string -> void))
    6262
    6363;;
     
    7878      (let-optionals args ((xaxis "") (yaxis "") (histogram? #f))
    7979        (slib:plot data xaxis yaxis histogram?)))))
     80
     81;optional label
     82(define slib:histograph histograph)
     83(set! histograph
     84  (lambda (data . args)
     85    (let-optionals args ((label ""))
     86      (slib:histograph data label))))
    8087
    8188;; Parameters (replacements for SLIB graph part globals)
Note: See TracChangeset for help on using the changeset viewer.