Bar matlab, The X and Y both are vectors