Well since it's the graph of f', f is decreasing when f' is negative. f' is negative when it's below the x-axis.

and a local maximum is when f' is positive, then 0 (horizontal tangent), then negative..

local minimum when f' is going from negative, 0, and then positive again.