[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info
Subject:    Re: [Gnuplot-info] incrementing a counter
From:       Thomas Sefzick <t.sefzick () fz-juelich ! de>
Date:       2010-05-21 14:38:10
Message-ID: 28634714.post () talk ! nabble ! com
[Download RAW message or body]


'bind'ing some events to actions would be highly terminal
dependent.

another solution would be to use a software package containing
all those interactive features (e.g. tcltk, perltk). the main program
would the be written in tcltk or perl and it would call gnuplot just
to generate the plot as a tk-canvas.


SHELTRAW, DANIEL wrote:
> 
> Thanks Thomas
> 
> Can I increment the counter when a key press (eg. the up arrow key) is
> pressed by using the bind command? If so can you show me how?
> 
> Thanks again
> 
>>
>> initialize:
>> a=1
>>
>> increment:
>> a=a+1
>>
>>
>> SHELTRAW, DANIEL wrote:
>>>
>>> Hi Gnuplot users
>>>
>>> Could someone please tell me how one can initialize and increment a
>>> variable within a GnuPlot script.
>>>
>>> Thank you
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> gnuplot-info mailing list
>>> gnuplot-info@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/incrementing-a-counter-tp28601689p28605906.html
>> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> gnuplot-info mailing list
>> gnuplot-info@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> gnuplot-info mailing list
> gnuplot-info@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> 
> 

-- 
View this message in context: http://old.nabble.com/incrementing-a-counter-tp28601689p28634714.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------

_______________________________________________
gnuplot-info mailing list
gnuplot-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic