Sample computer code for two sample gradual change analysis implements the methodology proposed in the paper [Hlávka, Hušková: Two-sample gradual change analysis, REVSTAT, to appear].