From 06136d2d024aa0fb4b8dd9f5b5d396ec357dfa99 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 13 Jun 2021 19:37:00 +0200 Subject: [PATCH] Set the default line width for grid and graph to 1. 0 is possible but seems to be too thin for reasonable plots. --- src/frontend/postsc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/postsc.c b/src/frontend/postsc.c index 65a73ba2f..9bcfec4c6 100644 --- a/src/frontend/postsc.c +++ b/src/frontend/postsc.c @@ -183,13 +183,13 @@ int PS_Init(void) /* get linewidth information from spinit */ if (!cp_getvar("xbrushwidth", CP_REAL, &linewidth, 0)) - linewidth = 0; + linewidth = 1; if (linewidth < 0) linewidth = 0; /* get linewidth for grid from spinit */ if (!cp_getvar("xgridwidth", CP_REAL, &gridlinewidth, 0)) - gridlinewidth = linewidth; + gridlinewidth = 1; if (gridlinewidth < 0) gridlinewidth = 0;