Mapping the electronic wave functions by determining current-voltage curves