Ask Your Question

Revision history [back]

Simple ReLU plot

I am trying to plot this simple ReLU function max(0,x).
But the line is struck at y=0. Can somebody help ?

Here is my code:
plot(max(0,x), -2, 2)