<commit_before>
resultfile ="NE_1DS_1Knee_MLCP.dat"
resultfile ="NE_1DS_1Knee_MLCP_D1MinusLinear.dat"


#plot resultfile u 1:2
#resultfile1 ="NE_1DS_1Knee_MLCP_beam1.dat"
#resultfile1 ="NE_1DS_1Knee_MLCP_D1MinusLinear_beam1.dat"

set label 1 sprintf("Siconos NewtonEulerDS simulation.")  at first 0.5 , first 0.5
i=0
set term aqua 0
#plot resultfile1 u 3*i+1:3*i+3 w lp t 'beam1'
set term aqua 1
plot  resultfile u 1:9 w l t 'norm2(y)'
set term aqua 2
plot  resultfile u 1:10 w l t 'norm2(ydot)'
set term gif animate

outputfile="animatedonebeam.gif"
outputfile="animatedonebeam_D1MinusLinear.gif"
set label 1 sprintf("Siconos NewtonEulerDS simulation.")  at first -0.5 , first 0.5

set xrange [-1.05:1.05]
set yrange [-2:0.1]
set size square
set output outputfile
n=1000   #n frames
#n=50
i=0
every=5

#load "animonebeam.gp"<commit_msg>[examples] improve gnuplot file for NE_1DS_1Knee<commit_after>
resultfile ="NE_1DS_1Knee_MLCP.dat"
resultfile_ref ="NE_1DS_1Knee_MLCP.ref"
#resultfile ="NE_1DS_1Knee_MLCP_D1MinusLinear.dat"
#resultfile_ref ="NE_1DS_1Knee_MLCP_D1MinusLinear.ref"

#plot resultfile u 1:2
resultfile1 ="NE_1DS_1Knee_MLCP_beam1.dat"
#resultfile1 ="NE_1DS_1Knee_MLCP_D1MinusLinear_beam1.dat"

set label 1 sprintf("Siconos NewtonEulerDS simulation.")  at first 0.5 , first 0.5
i=0
set term aqua 0
plot resultfile1 u 3*i+1:3*i+3 w lp t 'beam1'
set term aqua 1
plot  resultfile u 1:9 w l t 'norm2(y)'
set term aqua 2
plot  resultfile u 1:10 w l t 'norm2(ydot)'
set term aqua 3
set xrange [.0:0.5]
plot  resultfile u 1:2 w l t 'q[1]',\
resultfile_ref every ::1  u 1:2 w l t 'q[1]'

set term gif animate

outputfile="animatedonebeam.gif"
outputfile="animatedonebeam_D1MinusLinear.gif"
set label 1 sprintf("Siconos NewtonEulerDS simulation.")  at first -0.5 , first 0.5

set xrange [-1.05:1.05]
set yrange [-2:0.1]
set size square
set output outputfile
n=1000   #n frames
#n=50
i=0
every=5

load "animonebeam.gp"
{'fraction_non_alphanumeric': 0.10619469026548672, 'fraction_numerical': 0.07287870900572618, 'mean_word_length': 5.385382059800665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3133', 'n_tokens_mistral': 902, 'n_tokens_neox': 834, 'n_words': 228}