plotting of sectons working