script for plotting window size