plot ln|cos(3 x)|