Direct monitoring of plasmon resonances in a tip-surface gap of varying width