fixed output list
fixed a bug in calculating xlimits
Merge branch 'master' into newplots