Recalibration of colors is not automatic. Whenver you press 'Recalibrate Rainbow', the minimum and maximum values from the current data interval are used to assign the colors.
The mpl_* scripts are outdated and no longer maintained. Use https://sumo.dlr.de/wiki/Tools/Visualization#plot_net_dump.py to render the data intervals. If you use '%s' as part of the output filename, you will get multiple output files (one for each interval). regards, Jakob Am Di., 6. Aug. 2019 um 16:15 Uhr schrieb Hoffmann, Pascal < [email protected]>: > Hi Jakob, > > > thank you for your quick response. It makes totally sense with the > simulation steps, but still there is no recalibration, when I go to further > steps. And I checked the data and it's full of edges with densities, speeds > etc. . Is there maybe any other reason for that? > > If I want to use mpl_dump_onNet to display the aggregated values, what do > I have to do? I tried it with this command: > > mpl_dump_onNet.py --net-file most.net.xml --dump most.aggregated_60.xml > --output dump%05d.png > > But there I'm missing the attributes - I'm guessing the measurements. What > do I need to do to display the values of waiting time for all intervals > seperately to be able to convert it afterwards to a gif? > > > Best regards, > > Pascal > ------------------------------ > *Von:* [email protected] <[email protected]> im > Auftrag von Jakob Erdmann <[email protected]> > *Gesendet:* Dienstag, 6. August 2019 15:30:52 > *An:* Sumo project User discussions > *Betreff:* Re: [sumo-user] Generating edge-based output data > > Hello, > edgeData is time based so the values change depending on the simulation > time. Before you use 'recalibrate rainbow' you need to advance the > simulation to the begin time of the first data interval. (at least you need > to press 'step' once to advance the simulation to step 0). I've added this > tip to the wiki now. > > The statistics output should work with the options you have set. Note, > that you need to close sumo-gui to ensure that all files are completely > written (or use 'sumo' instead). > > There is currently no tutorial on output visualization that I know of. I'm > open for suggestions in regard to improving the wiki. > > regards, > Jakob > > Am Di., 6. Aug. 2019 um 14:37 Uhr schrieb Hoffmann, Pascal < > [email protected]>: > >> Dear sumo users, >> >> >> I try to generate output data with the MOST scenario. Basically what I >> want to see is aggregated density, speed, traveltime and waiting time and >> the same data per vehicle on time. So I started to create an additional >> file like: >> >> >> https://github.com/eclipse/sumo/blob/master/tests/sumo/output/meandata_edgebased/one_vehicle/interval60s/input_additional.add.xml >> >> >> and implemented in the most.sumocfg file. After the simulation, I load >> the most.net.xml file and open the edge data file. So far, everything is >> fine. When I want to display the values with edit visualisation --> >> streets --> color --> by edge data and choose a parameter like waiting time >> (or any another) and recalibrate rainbow, nothing happens. Although the >> edge_data.xml is full with the correct data. In addition, I want to the >> duration-log.statistics, but it is not working as well: >> >> <report> >> <verbose value="true"/> >> <duration-log.statistics value="true"/> >> <log value="normalmost_sim.log"/> >> </report> >> >> Do you know, what the mistake might be? Do you know a good tutorial like >> on youtube or anywhere else, where they describe how to do basic generation >> of output data and visualisation with sumo (or even python scripts like >> mpl_dump_onNet.py) ? >> >> >> Thanks in advance! >> >> >> Best regards, >> >> Pascal >> >> >> >> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
