Fixed a problem with plot1 (called earlier version of getData)