Commit c4af7408 authored by Ahmad Reza's avatar Ahmad Reza
Browse files

changed the file name gnuplot_generator.py to plot_generator.py

parent bbd6ef12
......@@ -2,7 +2,7 @@ import subprocess
import pandas as pd
def gnuplot_generator(directory):
def plot_generator(directory):
data = pd.read_csv(directory+"/rounds.csv")
i = 1
plot = subprocess.Popen(['gnuplot', '--persist'], shell=False, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
......
......@@ -7,7 +7,7 @@ import sys
import time
import random
from lib import world, config
from lib.gnuplot_generator import gnuplot_generator
from lib.plot_generator import plot_generator
from lib.vis3d import ResetException
......@@ -110,7 +110,7 @@ def run_solution(swarm_sim_world):
def generate_data(config_data, swarm_sim_world):
swarm_sim_world.csv_aggregator()
gnuplot_generator(config_data.directory_name)
plot_generator(config_data.directory_name)
if __name__ == "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment