A plot demo using QT