plot a 3^x for a in