diff --git a/tools/evaluation/EvaluationGAMMTests.py b/tools/evaluation/EvaluationGAMMTests.py index 395a580a6b1577b4b46ca73e8f9e5e0f2078427c..f14495b5be6ba1069a1b6128a168c4f44bfb3b0e 100644 --- a/tools/evaluation/EvaluationGAMMTests.py +++ b/tools/evaluation/EvaluationGAMMTests.py @@ -68,11 +68,11 @@ def plotVolumeCurves(volume, volumeLabel, timeOrStep, timeOrStepLabel,lvRvLabelc plt.xlabel(str(timeOrStepLabel)) plt.ylabel(str(volumeLabel)) plt.xlim(0, 800) - plt.ylim(110, 160) + plt.ylim(60, 180) for i in range(len(volume)): plt.plot(timeOrStep, volume[i], label = lvRvLabel[i] + str(coupledProblem[i]) + " cV" + str(cV) + "dCV" + str(dCS)) - plt.legend(bbox_to_anchor=(1.8,0), loc='lower right', frameon=True) - #plt.show() + plt.legend( loc='lower right', frameon=True)#bbox_to_anchor=(1.8,0), + plt.show() #plt.savefig(foldername + 'VolumePlot.png') #Todo anpassen an data/LogFileName @@ -80,8 +80,8 @@ def plotVolumeCurves(volume, volumeLabel, timeOrStep, timeOrStepLabel,lvRvLabelc CoupledProblem = ["BiventricleCoarse","DeformedBiventricleCoarse"] CoupledProblemDeformed = ["DeformedBiventricleCoarse"] -cell_values = [0, 1] -deformConcentrationStretch = [0, 1] +cell_values = [0] #, 1 +deformConcentrationStretch = [0]#, 1 def checkIfFolderExists(path): folderPath =pathToMakeFolders+path @@ -97,7 +97,8 @@ if __name__=="__main__": for cP in CoupledProblem: for cV in cell_values: for dCS in deformConcentrationStretch: - foldername = path + pathExperiment + 'log' + str(cP) + '_cellV'+ str(cV) +'_deformCS' + str(dCS) + '.log' + foldername = 'DeformedRayleigh_l1.log' + #foldername = path + pathExperiment + 'log' + str(cP) + '_cellV'+ str(cV) +'_deformCS' + str(dCS) + '.log' #foldernameDeformed = path + pathExperiment + 'log' + str(CoupledProblemDeformed[0]) + '_cellV' + str(cV) + '_deformCS' + str(dCS) + '.log' vol, dataTime, dataStep = readDataFromLog(pathExperiment, foldername)