how can i display x,y values & name of the plotted lines without using datacursor option

i have 4 lines plotted on the axes all lines are plotted using same color
how can i get the x,y & name of the line when i click it(plotted line)
unfortunately i cannot use data cursor
output like x=10;y=20;Name=line1 when i click on line1
Thanks in advance

This question is closed.

Tags

Asked:

on 14 Dec 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!