Plot locator function - now works on multiplot devices