Math — Plot: Absolute Value
The V-shaped graph of y = |x|.
Rendering…
Make it your own.
{
"data": [
{"type":"scatter","mode":"lines+markers","name":"|x|","line":{"color":"#0891b2","width":3},
"x":[-4,-3,-2,-1,0,1,2,3,4],"y":[4,3,2,1,0,1,2,3,4]}
],
"layout": {"title":"Absolute value function","xaxis":{"title":"x"},"yaxis":{"title":"|x|"}}
}