diff options
Diffstat (limited to '')
-rw-r--r-- | tmac/tmac.gr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tmac/tmac.gr b/tmac/tmac.gr index 7205a32..ff4e567 100644 --- a/tmac/tmac.gr +++ b/tmac/tmac.gr @@ -30,6 +30,9 @@ .\" .grval y label .\" Specify y-axis label at y. .\" +.\" .grtxt x y "text" +.\" Write "text" in the given position. +.\" .\" .grclr line fill .\" Specify graph colours. .\" @@ -123,6 +126,14 @@ . ps . sp -1 .. +.de grtxt +. nr grx1 \\*[grx \\$1] +. nr gry1 \\*[gry \\$2] +. ps \\n[grptsz] +\v'|\\n[gry1]u'\h'|\\n[grx1]u'\h'-\\w'\\$3'u/2u)'\\$3 +. ps +. sp -1 +.. .de grcurbeg . gropt "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" . ds grcur.s " |