Update doc with better example equivalent to y=