Nonlinear wave patterns in the complex KdV and nonlinear Schrodinger equations