You can use the CLICKSAMPLE_CB callback to identify that a sample was
clicked. And PLOTMOTION_CB to move the point.

 You can use the IupPlotSetSample function to change the dataset value.

Best,
Scuri


Em seg, 16 de set de 2019 às 17:04, Milind Gupta <milind.gu...@gmail.com>
escreveu:

>
>>
>>   By the way did you noticed that there is cursor in IupPlot using
>> the Ctrl+H or Ctrl+V key combinations?
>>
>> These look good. Only problem I have is I need to update the dataset
> value as the cross hair moves I don't want to wait for the tool tip to show
> up. Does it have a callback that I can use?
>
> Thanks,
> Milind
>
>
>> Best,
>> Scuri
>>
>>
>> Em seg, 16 de set de 2019 às 00:44, Milind Gupta <milind.gu...@gmail.com>
>> escreveu:
>>
>>> Hi,
>>>         Is there a way to get the X value as plotted on the graph for a
>>> dataset given the Y value? I am trying to make a moving cursor on the
>>> dataset when the mouse moves.
>>>         Can it be accessed through the dataset userdata?
>>>
>>> Thanks,
>>> Milind
>>> _______________________________________________
>>> Iup-users mailing list
>>> Iup-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>>
>> _______________________________________________
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to