Compare commits

...

2 Commits

Author SHA1 Message Date
fordprefect
4a4f6d1c6b fixed raw data 2023-08-13 21:55:29 +02:00
fordprefect
d88c9d2b6e fix rane10-10 data, add overview plots 2023-08-13 21:54:35 +02:00
3 changed files with 26 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ Rane10-3 core core core core core core core core core core core core transition
p 10,2 9,3 9,5 6,8 10,4 9,7 9,9 7,2 10,3 9,6 9,7 6,8 10,6 10,5 10,7 9 10,7 10,7 11 9,2 10,2 9,9 10,2 8,8 11,5 11,6 11,4 9,9 12,2 14,9 15 12,8 12,7 15,4 15,3 12,9 12,3 15,1 15,4 13 12,2 15 15,3 12,8 p 10,2 9,3 9,5 6,8 10,4 9,7 9,9 7,2 10,3 9,6 9,7 6,8 10,6 10,5 10,7 9 10,7 10,7 11 9,2 10,2 9,9 10,2 8,8 11,5 11,6 11,4 9,9 12,2 14,9 15 12,8 12,7 15,4 15,3 12,9 12,3 15,1 15,4 13 12,2 15 15,3 12,8
T 404 369 381 264 421 387 398 278,901678670781 409,494301482043 375,533427916256 386,298013929303 269,422101590477 427 422 436 349 443 438 453 361,251084048528 402,742560356777 397,290404754501 409,887933680074 332,155441944561 483,254544257058 477,558572644372 492,214317009013 392,575336069011 516 645 620 541 531 666 639 555,699311677766 523,893893210169 655,908617463107 631,551872262378 549,721533665992 519,994628770231 652,207885553591 627,755793167068 545,452999968155 T 404 369 381 264 421 387 398 278,901678670781 409,494301482043 375,533427916256 386,298013929303 269,422101590477 427 422 436 349 443 438 453 361,251084048528 402,742560356777 397,290404754501 409,887933680074 332,155441944561 483,254544257058 477,558572644372 492,214317009013 392,575336069011 516 645 620 541 531 666 639 555,699311677766 523,893893210169 655,908617463107 631,551872262378 549,721533665992 519,994628770231 652,207885553591 627,755793167068 545,452999968155
Rane10-10 core core core core transition transition transition transition core core core core core core core core core core core core Rane10-10 core core core core transition transition transition transition rim rim rim rim rim rim rim rim rim rim rim rim
p 6,5 6,6 6,9 6,9 11,4 12,6 12,8 14 16,3 17,9 15,8 15,9 17,3 19,1 16,8 16,8 17,3 19,1 16,8 16,8 p 6,5 6,6 6,9 6,9 11,4 12,6 12,8 14 16,3 17,9 15,8 15,9 17,3 19,1 16,8 16,8 17,3 19,1 16,8 16,8
T 453 461 505 507 452 495 501 575 618 667 595 598 657 710 632 634,717258249757 656,108445904902 710,362518667749 631,32528493392 634,142181436897""" T 453 461 505 507 452 495 501 575 618 667 595 598 657 710 632 634,717258249757 656,108445904902 710,362518667749 631,32528493392 634,142181436897"""

View File

@@ -133,18 +133,35 @@ def plotEdiagram():
pp.show() pp.show()
def plotPTdiagram(): def plotPTdiagram():
plots = {i: pp.subplots(1, num=i) for i in ["E", "F", "R"]}
colors={"core": "tab:blue", "transition": "tab:orange", "rim": "tab:green"}
for label in data_ptdiagram.data: for label in data_ptdiagram.data:
print(label) print(label)
pp.figure(label) fig, ax = pp.subplots(1, num=label)
for region in ["core", "transition", "rim"]: for region in ["core", "transition", "rim"]:
pp.plot(data_ptdiagram.data[label][region]["p"], data_ptdiagram.data[label][region]["t"], marker="o", linestyle="", label=region) # individual sample plot
pp.legend(frameon=False) ax.plot(data_ptdiagram.data[label][region]["t"], data_ptdiagram.data[label][region]["p"], marker="o", linestyle="", label=region)
pp.xlabel("p [kbar]") # overview plot
pp.ylabel("T [°C]") plots[label[0]][1].plot(data_ptdiagram.data[label][region]["t"],
pp.title(label) data_ptdiagram.data[label][region]["p"],
pp.savefig(f"ptplot_{label}.png") marker="o", linestyle="", color=colors[region])
pp.show() ax.legend(frameon=False)
ax.set_ylabel("p [kbar]")
ax.set_xlabel("T [°C]")
ax.set_title(label)
fig.savefig(f"ptplot_{label}.png")
names = {"E": "E11", "F": "Fro", "R": "Rane"}
for plot in plots:
plots[plot][1].set_ylabel("p [kbar]")
plots[plot][1].set_xlabel("T [°C]")
plots[plot][1].set_title(names[plot])
plots[plot][0].savefig(f"ptplot_{plot}overview.png")
#pp.show()
if __name__ == "__main__": if __name__ == "__main__":

Binary file not shown.