// creates empty graphs that are later used to be filled with data private void createEmptyGraphs() { GraphableDescription speedGraph = new GraphableDescription("Speed", "Speed", "Time [s]", "Speed [m/s]"); GraphableDescription accelerationGraph = new GraphableDescription("Acceleration", "Acceleration", "Time [s]", "Acceleration [m/s^2]"); GraphableDescription distanceGraph = new GraphableDescription("Distance", "Distance", "Time [s]", "Distance [m]"); GraphableDescription fResGraph = new GraphableDescription("F(res)", "F(res)", "Time [s]", "F(res) [N]"); graphCreator.CreateEmptyGraph(speedGraph); graphCreator.CreateEmptyGraph(accelerationGraph); graphCreator.CreateEmptyGraph(distanceGraph); graphCreator.CreateEmptyGraph(fResGraph); }
private void createEmptyGraphs() { GraphableDescription eKinGraph = new GraphableDescription("Kinetic Energy", "Kinetic Energy", "Time [s]", "Energy [kJ]"); GraphableDescription ePotGraph = new GraphableDescription("Potential Energy", "Potential Energy", "Time [s]", "Energy [kJ]"); GraphableDescription eTotGraph = new GraphableDescription("Total Energy", "Total Energy", "Time [s]", "Energy [kJ]"); GraphableDescription speedGraph = new GraphableDescription("Speed", "Speed", "Time [s]", "Speed [m/s]"); GraphableDescription accelerationGraph = new GraphableDescription("Acceleration", "Acceleration", "Time [s]", "Acceleration [m/s^2]"); GraphableDescription heightGraph = new GraphableDescription("Height", "Height", "Time [s]", "Height [m]"); graphCreator.CreateEmptyGraph(eKinGraph); graphCreator.CreateEmptyGraph(ePotGraph); graphCreator.CreateEmptyGraph(eTotGraph); graphCreator.CreateEmptyGraph(speedGraph); graphCreator.CreateEmptyGraph(accelerationGraph); graphCreator.CreateEmptyGraph(heightGraph); }