Example B3: Plotting using vertical bars