plotting in rbc