How to draw dotted lines like Walter Lewin