align set_thick_waves() to comply with previous commit

This commit is contained in:
stefan schippers 2023-04-27 22:49:43 +02:00
parent 36f71708e6
commit 410135cf44
2 changed files with 13 additions and 7 deletions

View File

@ -1887,11 +1887,11 @@ static void set_thick_waves(int what, int wcnt, int wave_col, Graph_ctx *gr)
if(what) {
if(gr->hilight_wave == wcnt)
XSetLineAttributes (display, xctx->gc[wave_col],
3 * INT_WIDTH(xctx->lw) ,LineSolid, LINECAP , LINEJOIN);
INT_WIDTH(2.4 * gr->linewidth_mult * xctx->lw) ,LineSolid, LINECAP , LINEJOIN);
} else {
if(gr->hilight_wave == wcnt)
XSetLineAttributes (display, xctx->gc[wave_col],
(int)(xctx->lw) ,LineSolid, LINECAP , LINEJOIN);
INT_WIDTH(gr->linewidth_mult * xctx->lw) ,LineSolid, LINECAP , LINEJOIN);
}
}

View File

@ -65,7 +65,9 @@ divx=8
node="panel
led" unitx=m
color="7 4"
jpeg_quality=20}
jpeg_quality=30
linewidth_mult=2.0
hilight_wave=-1}
B 2 1260 -390 1680 -220 {flags=graph
y1 = 0
y2 = 6.7
@ -79,7 +81,8 @@ color="7 4 6"
node="i(vpanel)
i(vled)
\\"R.Avg. I(vpanel); i(vpanel) 20u ravg()\\""
jpeg_quality=20}
jpeg_quality=30
linewidth_mult=2.0}
B 2 1260 -750 1680 -560 {flags=graph
y1 = -8.9e-05
y2 = 100
@ -96,7 +99,8 @@ node="\\"Panel power; i(vpanel) v(panel) *\\"
\\"Avg.Pan. Pwr; i(vpanel) v(panel) * 20u ravg()\\"
\\"SUN %; sun 100 *\\""
hilight_wave=-1
jpeg_quality=20}
jpeg_quality=30
linewidth_mult=2.0}
B 2 1260 -940 1680 -750 {flags=graph
y1 = 0
y2 = 1
@ -114,7 +118,8 @@ hilight_wave=-1
digital=0
ypos1=0.00261891
ypos2=0.51596
jpeg_quality=20}
jpeg_quality=30
linewidth_mult=2.0}
B 2 1260 -1140 1680 -950 {flags=graph
y1 = 0
y2 = 1
@ -133,7 +138,8 @@ ypos1=0.00261891
ypos2=0.51596
color=8
node="\\"CTRL1 Duty cycle; ctrl1 20u ravg()\\""
jpeg_quality=20}
jpeg_quality=30
linewidth_mult=2.0}
B 18 85 -840 340 -655 {}
A 5 340 -840 5.590169943749475 243.434948822922 360 {fill=true}
P 7 6 415 -655 360 -811.25 355 -825 342.5 -840 330 -845 85 -855 {}