minor edits in plot_slags to make compatible with new matlab