set ylabel "[N]" set yrange[-100:150] set title "Fuerzas vs Tiempo" set key outside set grid # Bucle de actualización while (1) { plot 'postProcessing/forces/0/forc.dat' using 1:(($2)) title 'Presión' with lines,\ 'postProcessing/forces/0/forc.dat' using 1:(($5)) title 'Viscosa' with lines,\ 'postProcessing/forces/0/forc.dat' using 1:(($2 + $5)) title 'Total' with lines pause 5 }