Updated header file in plotdata.cpp.