plotProfile() now permits type='o'