WIP fix plot of intervals

need to plot factor attributes instead