A sample plot based on new query framework
More plotting and some comments to help change the code