grid.c, adding a 'poor man's' title to the postscript output

This commit is contained in:
h_vogt 2016-11-26 18:01:48 +01:00
parent fbc9ea6ca6
commit 45df480d15
1 changed files with 5 additions and 0 deletions

View File

@ -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: