Hello
- The plotting script is not yet python 3 compatible. Make sure to use
python 2.7.
- the script assumes meanData output for obtaining the values. See
http://sumo.dlr.de/wiki/Tools/Visualization#plot_net_dump.py
regards,
Jakob


2017-05-08 5:52 GMT+02:00 Tanuja S <[email protected]>:

> Hi,
>
> I am trying to visualise the output generated at the end of simulation
> using plot_net_dump.py. The command I am using is:
>
> python plot_net_dump.py -v -n kowloon_roads_final1.net.xml --measures
> speed,entered --xlabel [m] --ylabel [m] --default-width 1 -i
> sumoTrace.xml,sumoTrace.xml --xlim 1932,13468 --ylim 60,8167
> --default-width .5 --default-color #606060 --min-color-value -1000
> --max-color-value 1000 --max-width-value 1000 --min-width-value -1000
> --max-width 3 --min-width .5 --colormap
> #0:#0000c0,.25:#404080,.5:#808080,.75:#804040,1:#c00000
>
> The code runs and the console will be printed with:
>
> Reading network from 'kowloon_roads_final1.net.xml'
> Reading colors from 'sumoTrace.xml'
> Reading widths from 'sumoTrace.xml'
>
> I cannot see the image being generated after the code finishes running! Am
> i missing something? I have installed matplotlib. I am running the code the
> <SUMO-HOME> directory (have copied the file plot_net_dump.py to current
> working directory).
>
> Kindly help me with this.
>
> Regards,
> Tanuja S
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to