pass subtitle, not mean distance, to r plotting function