Skip to content
Snippets Groups Projects
Commit e4b418a7 authored by Ruben Haag's avatar Ruben Haag
Browse files

For putting the gathered Data in one file an Plotting it

parent beeef33e
No related branches found
No related tags found
No related merge requests found
using Plots
using CSV
path = ARGS[1]
len = eval(Meta.parse(ARGS[2]))
archive_path = ARGS[3]
xname = "frequency"
yname = "dt_earliest_pickup"
df = Dataframe(path*"1.csv")
for index in indxes
for i in 2:len
#TODO put all the generated CSV Files together into one big file which is then saved to the correct location
temp = DataFrame(path*"$i.csv")
append!(df, temp)
end
println("Saving Combined Dataframe to $archive_path")
CSV.write(archive_path*"$name.csv", df)
x, y = df[xname], df[yname]
ks = names[df]
deleteat!(ks, xname)
deleteat!(ks, yname)
for name in ks
data = df[name]
map = heatmap(1:size(data,1),
1:size(data,2), data,
#c=cgrad([:blue, :white,:red, :yellow]),
xlabel="Frequency", ylabel="dt_earliest_pickup",
title="$name")
savefig(path*"$name.png")
end
#TODO put all the generated models in an archive file and save it to the archiving location
#TODO make Plots from the CSV file
#TODO make Plots from the CSV files
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment