Rohdaten, aufbereitete Daten und erster Aufschlag UPlot
This commit is contained in:
@@ -76,7 +76,25 @@ def plotTdiagram():
|
||||
tax.show()
|
||||
|
||||
def plotUdiagram():
|
||||
raise NotImplementedError()
|
||||
|
||||
groups = []
|
||||
|
||||
for g in data_udiagram.data.keys():
|
||||
|
||||
dat = data_udiagram.data[g]
|
||||
|
||||
for i, zone in enumerate(dat['zones']):
|
||||
|
||||
fig, ax = pp.subplots(1, num=g+" "+zone)
|
||||
ax.plot(dat['index'][i], dat['al4'][i], label=dat['zones'][i]+"Al(iv)", color="blue")
|
||||
ax.plot(dat['index'][i], dat['al6'][i], label=dat['zones'][i]+"Al(vi)", color="orange")
|
||||
ax.set_xlabel("No.")
|
||||
ax.set_ylabel("value")
|
||||
ax.set_title(f"{g}: {zone}")
|
||||
pp.savefig(f"uplot_{g}_{zone}.png")
|
||||
|
||||
pp.show()
|
||||
|
||||
|
||||
def plotZdiagram():
|
||||
raise NotImplementedError()
|
||||
@@ -85,4 +103,5 @@ def plotZdiagram():
|
||||
if __name__ == "__main__":
|
||||
pass
|
||||
|
||||
plotTdiagram()
|
||||
#plotTdiagram()
|
||||
plotUdiagram()
|
||||
|
||||
Reference in New Issue
Block a user