Set the default line width for grid and graph to 1.

0 is possible but seems to be too thin for reasonable plots.
This commit is contained in:
Holger Vogt 2021-06-13 19:37:00 +02:00
parent 5083954fa1
commit 06136d2d02
1 changed files with 2 additions and 2 deletions

View File

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