Browse Source

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

0 is possible but seems to be too thin for reasonable plots.
pre-master-46
Holger Vogt 5 years ago
parent
commit
06136d2d02
  1. 4
      src/frontend/postsc.c

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

Loading…
Cancel
Save