Hello there, 
  
You pass “--measures speed,entered” as measures to show, but they are not included in your files.
 Use “--measures sampledSeconds,traveltime” instead. 
  
Sincerely, 
Daniel 
  
Von: sumo-dev <sumo-dev-bounces@xxxxxxxxxxx> Im Auftrag von
Jakob Erdmann 
Gesendet: Freitag, 3. September 2021 08:36 
An: sumo developer discussions <sumo-dev@xxxxxxxxxxx> 
Betreff: Re: [sumo-dev] plot_net_dump visualization 
  
Both files passed to the plotting script must cover the same time intervals. The first file is used for the colors and the second for the width (the same file may be used for both parts). 
 
By passing two files with different time ranges to the script, no color and width data with the same timestamps are found. 
 
 
  
It is not like there is no plot at all. By removing the limits it gets zoomed out. 
The problem is that it is not colored at all. 
 
Also, the path I am using looks looks this: 
 
python D:/prog/tools/visualization/plot_net_dump.py 
 
Do you have any idea what might be? 
 
 
 
  
Possibly, you are plotting an empty spatial range. Try running your command without --xlim and --ylim.  Also, the tool is located at SUMO_HOME/tools/visualization. If you put it someplace else it may not find it's libraries. 
 
  
I was trying to get a plot using plot_net_dump python script but it seems like nothing is plotted. 
 
I used the following command: 
 
python .SUMO HOME/plot_net_dump.py -v -n pr.net.xml --measures speed,entered --xlabel [m] --ylabel [m]  --default-width 0.5 -i  dumps_0_500.xml,dumps_500_1000.xml --xlim 300,1500 --ylim 1100,2300 --min-color-value -1000 --max-color-value
 1000 --min-width-value -1000 --max-width-value 1000 --colormap seismic 
 
And nothing gets colored on the map. I ran the simulation with a random traffic using random_trips.py and with this code for the additional file: 
 
<edgeData id="dumps_0_500" freq="20" file="dumps_0_500.xml" excludeEmpty="true" begin="0" end="500"/> 
 
<edgeData id="dumps_500_1000" freq="20" file="dumps_500_1000.xml" excludeEmpty="true" begin="500" end="1000"/> 
 
 
The output file looks like this: 
 
Do you know which may be the problem? 
 
 
 
 
 
 
_______________________________________________ 
sumo-dev mailing list 
sumo-dev@xxxxxxxxxxx 
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-dev 
 
 
_______________________________________________ 
sumo-dev mailing list 
sumo-dev@xxxxxxxxxxx 
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-dev 
 
 
 
 
--  
  
| 
   
 | 
 
Iulia-Petronela Onică 
Student | Faculty of Electronics Telecommunications and Information Technology 
  
+(40) 751 391 832  
Skype: onica.iulia26 
Alternative e-mail:  
iulia.onica@xxxxxxxxx 
  
   
 | 
 
| 
 What you feel is what you become. 
 | 
 
 
 
 
 
 
 
 
 
 
 
_______________________________________________ 
sumo-dev mailing list 
sumo-dev@xxxxxxxxxxx 
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-dev 
 
 
 
 |