graph with strat sample and vars