fix example; add plot dv as option