How to read value from a plot

Let’s say I have plot. What is the command for getting the specific value at a point that I choose?
Exampe:
Plot like

–I-.
command(1) = 0 command(2) = 0, command(3)=1, command(4)=0