test.dat:
1 1 2
1 2 3
1 3 1
2 1 3
2 2 1
2 3 2
3 1 1
3 2 2
3 3 3
plot script:
set style data lines
splot 'test.dat'
pause -1
plot 'test.dat' using 2:3 every :::0::0 with linespoints
pause -1
plot 'test.dat' using 2:3 every :::1::1 with linespoints
pause -1
plot 'test.dat' using 2:3 every :::2::2 with linespoints
Smstry wrote:
>
> Thanks for your answer .
> i feel that what you wrote is near to what i 'd like but it doesn't realy
> works .
> please ,could you try it with a simple example ?.
>
>
> Thomas Sefzick wrote:
>>
>> if the number of data points per x-value is constant, you could
>> use the 'every' option of the 'plot' command.
>> or you could use the ternary operator:
>> plot 'datafilename' using ($1==2.76?$2):3
>> (assumed that one of your x-values is 2.76)
>>
>>
>> Smstry wrote:
>>>
>>> I have a file ( 3 columns x,y,z )which allows me to make a 3D plot .
>>> i'd like to make an animated 2d plot with this file :i mean for each
>>> value
>>> of x i plot 2d graph ,and i change th evalue of x with time to make
>>> animation .
>>> any one could help me ?
>>> thanks
>>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/animated-plot-tp26666997p26742314.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|