diff options
author | Thomas Bushnell, BSG <tb@debian.org> | 2006-10-23 23:55:08 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:37 -0800 |
commit | 97fc07b2d8896b869db55827900f24e6528a9bd6 (patch) | |
tree | 262ed5c19ad83dd59aac33d2e04ace4fbd94bd3b /grapheps.scm | |
parent | 810b08c931e958fdaa6971b2ce8c5e578130d652 (diff) | |
parent | 5bea21e81ed516440e34e480f2c33ca41aa8c597 (diff) | |
download | slib-97fc07b2d8896b869db55827900f24e6528a9bd6.tar.gz slib-97fc07b2d8896b869db55827900f24e6528a9bd6.zip |
Import Debian changes 3a4-1debian/3a4-1
slib (3a4-1) unstable; urgency=low
* New upstream release.
* slib.texi (Library Catalogs): Repeat change from 3a3-3.
* Makefile: Repeat $(htmldir)slib_toc.html changes from 3a2-1.
Diffstat (limited to 'grapheps.scm')
-rw-r--r-- | grapheps.scm | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/grapheps.scm b/grapheps.scm index d64262f..857829c 100644 --- a/grapheps.scm +++ b/grapheps.scm @@ -437,13 +437,13 @@ (scheme->ps x-coord " (" text ") " tick-width " rule-vertical")) ;;@body -;;Draws a horizontal ruler with X coordinate @1 and labeled with -;;string @2. If @3 is positive, then the ticks are @3 long on the -;;right side of @1; and @2 and numeric legends are on the left. If @3 -;;is negative, then the ticks are -@3 long on the left side of @1; and -;;@2 and numeric legends are on the right. -(define (rule-horizontal x-coord text tick-height) - (scheme->ps x-coord " (" text ") " tick-height " rule-horizontal")) +;;Draws a horizontal ruler with Y coordinate @1 and labeled with +;;string @2. If @3 is positive, then the ticks are @3 long on the top +;;side of @1; and @2 and numeric legends are on the bottom. If @3 is +;;negative, then the ticks are -@3 long on the bottom side of @1; and +;;@2 and numeric legends are on the top. +(define (rule-horizontal y-coord text tick-height) + (scheme->ps y-coord " (" text ") " tick-height " rule-horizontal")) ;;@body ;;Draws the y-axis. @@ -541,7 +541,9 @@ (lambda (tmp) (cond ((procedure? (car args)) (apply graph:plot-function tmp args)) - ((array? (car args)) + ((or (array? (car args)) + (and (pair? (car args)) + (pair? (caar args)))) (apply graph:plot tmp args)) (else (let ((dats (apply functions->array args))) (graph:plot tmp dats "" "")))) |