From 45df480d15aab0560be6737394bd2ce41292d271 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 26 Nov 2016 18:01:48 +0100 Subject: [PATCH] grid.c, adding a 'poor man's' title to the postscript output --- src/frontend/plotting/grid.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontend/plotting/grid.c b/src/frontend/plotting/grid.c index 3b3420587..56766681c 100644 --- a/src/frontend/plotting/grid.c +++ b/src/frontend/plotting/grid.c @@ -146,6 +146,11 @@ gr_redrawgrid(GRAPH *graph) graph->absolute.height / 2); } } + /* draw postscript title */ + if (graph->plotname && eq(dispdev->name, "postscript")) + DevDrawText(graph->plotname, + graph->fontwidth, + graph->absolute.height - graph->fontheight); switch (graph->grid.gridtype) { case GRID_POLAR: