function clearwatermark(h)

h.Watermarkdata = [];
h.Watermarktime = [];