Plot update

Fixed issue when UIS = 0
Fixed plot reversal