trying to plot some sensor values and failing