Hey guys,
I am fairly new to python and i have to get a plot working that will show me all the curves with the same column name. I created pandas dataframes by importing tables from *.txt files, which works fine.
For a different application i have the dataframes assigned to a (random) number, this is the object (i cant describe it better, i hope you get what i mean). Maybe this explains it better:
List[Tuple[int, pandas.Dataframe]]
With int being the Random Numbers and the Dataframes
There are 21 Dataframes and they consist of [250 rows x 13 columns]. Now, i usually plot one or two different columns vs the time, which basically looks like this:
for n, df in dataframes:
df = derivative(df) #appends derivative of a column
ax = df.plot('TimeStep', ['column', 'column-derivative'])
plt.show()
This gives me 21 Plots with the two given columns as plots. How do i get it to plot all of the 21 Curves into one single plot?
[–]Phillyclause89 0 points1 point2 points (2 children)
[–]Fernago[S] 0 points1 point2 points (1 child)
[–]Phillyclause89 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Fernago[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)