made measurement graphs using pgfplot