Graph-Commands.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. $
  2. python3 /usr/share/sumo/tools/visualization/plotXMLAttributes.py --title "Queueing Times" -x timestep --xticks 0,1000,100,10 --xlabel "Timestep (s)" -y queueing_time --ylabel "Queueing Time (s)" -o QueueingTime.png FOEQueueOutput.xml -i id --filter-ids :J7_1_0
  3. $
  4. $
  5. python3 /usr/share/sumo/tools/visualization/plotXMLAttributes.py --title "Queue Lengths" -x timestep --xticks 0,1000,100,10 --xlabel "Timestep (s)" -y queueing_length --ylabel "Queue Length (m)" -o QueueLength.png FOEQueueOutput.xml --legend
  6. $
  7. $
  8. python3 /usr/share/sumo/tools/visualization/plotXMLAttributes.py FOETripInfoOutput1.xml FOETripInfoOutput2.xml --title "Waiting Time 5 vs 10 vehicles" -x timeLoss -y @COUNT -i @NONE --legend --barplot --xbin 20
  9. $
  10. $
  11. python3 /usr/share/sumo/tools/plot_trajectories.py -t td -o T-D-Trajectory.png FOEfcdOutput.xml --title "Time-Distance Trajectory" --legend --xlabel "Time (s)" --ylabel "Distance (m)" --xticks 0,1000,100,10
  12. $
  13. $
  14. python3 /usr/share/sumo/tools/visualization/plotXMLAttributes.py FOEEdgeData.xml -i id -x density --xlabel "Density (veh/km)" -y left --yfactor 60 --ylabel "Flow (veh/h)" --scatterplot --title "Flow-Density Diagram" --legend
  15. $
  16. $
  17. python3 /usr/share/sumo/tools/visualization/plotXMLAttributes.py FOEEdgeData.xml -i id -x density --xlabel "Density (veh/km)" -y speed --ylabel "Speed (m/s)" --scatterplot --title "Speed-Density Diagram" --legend
  18. $
  19. $
  20. python3 /usr/share/sumo/tools/visualization/plotXMLAttributes.py FOEEdgeData.xml -i id -x left --xfactor 60 --xlabel "Flow (veh/h)" -y speed --ylabel "Speed (m/s)" --scatterplot --title "Speed-Flow Diagram" --legend
  21. $
  22. $
  23. python3 /usr/share/sumo/tools/plot_trajectories.py FOEfcdOutput.xml -t kt -o plot.png -s
  24. $
  25. Probably not relevant anymore as it relies on an ancient version of numpy and gives weird graphs, with very little data.
  26. $
  27. python3 /usr/share/sumo/tools/visualization/macrOutput.py FOEEdgeData.xml
  28. $