You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set title "Simulação de Voo - Formação em Quadrado"
set xrange [:30]
set yrange [:30]
arq = 'Voo.txt'
arq2 = 'Waypoints.txt'
plot arq2 using 1:2 lc rgb "red" pt 4
replot arq2 using 3:4 lc rgb "blue" pt 4
replot arq2 using 5:6 lc rgb "green" pt 4
pause 4
unset key
replot arq every ::0::0 using 1:2 with linespoints lc rgb "red" pt 9, arq every ::0::0 using 3:4 with linespoints lc rgb "blue" pt 9, arq every ::0::0 using 5:6 with linespoints lc rgb "green" pt 9
pause 0.5
i=1
while(i<91){
replot arq every ::i::i using 1:2 with linespoints lc rgb "red" pt 9, arq every ::i::i using 3:4 with linespoints lc rgb "blue" pt 9, arq every ::i::i using 5:6 with linespoints lc rgb "green" pt 9