Hi, I'm intending to plot a piecewise fuction. The horizontol lines displays correctly.
How can I plot the vertical line connecting 20 and -60 @ x=6 and -60to0 at X=8
g[x_] := \[Piecewise] {
{20, x < 6},
{-60, 6 < x < 8},
{0, True}
}
Plot[g[x], {x, 0, 10}]