LineY¶
-
LineY(y, args...; kvs...)¶ PlotComponentthat draws a horizontal line at positiony.argsandkvscan be used to set additional style attributes.
Example¶
p = fplot(atan, [-15, 15], 1000)
l1 = LineY(pi/2, color="blue", linekind="dashed")
l2 = LineY(-pi/2, color="blue", linekind="dashed")
add(p, l1)
add(p, l2)
