modified frequency plotting