Your question isn't entirely clear. Do you want to take an existing figure and create an axes object at some arbitrary point you click on? Or do you want the axes to follow your cursor around as you ...