There is a misunderstanding: <DETEDCTOR_ID> doesn't refer to some other detector. It's just an arbitrary name defined by the user to distinguish the written data from other edgeData definitions that write into the same file. edgeData will always cover all network edges so you only need multiple definitions if you filter by vTypes or want to use multiple aggregation frequencies.
Try running with fewer options: plot_net_dump.py -v -n activitygen-example.net.xml -i edgeData.xml --measures NOx_normed,NOx_normed Make sure that the used network matches the one from the simulation that generated the edgeData file. Am Di., 9. Nov. 2021 um 12:42 Uhr schrieb Ranarivelo Antsa via sumo-user < [email protected]>: > Hi, > > I am trying to plot the edges emission using plot-net-dump.py. > 1. I know we use edgeData to output edge emission measures used in the > python script: > > <edgeData id="<DETECTOR_ID>" type="emissions" freq="<FREQUENCY>" > file="<OUTPUT_FILE>" [excludeEmpty="true"]/> > But I don't know how to create a detector, since "id" here refers to detector > id. > > 2. so I created an additional file looking like that: > [image: Image en ligne] > and my edgeData : > [image: Image en ligne] > Then I ran the script: > > python D:\AGETIPA\SUMOLOG\tools\visualization\plot_net_dump.py -v -n > D:\AGETIPA\PROJETS\21-05-21\8h10h\activitygen-example.net.xml --xticks > 7000,14001,2000,16 --yticks 9000,16001,1000,16 --measures > NOx_normed,NOx_normed--xlabel[m]--ylabel[m] --default-width 1 -i > D:\AGETIPA\PROJETS\21-05-21\8h10h\in\add\67h8-10.aggregatedemission1_edge.xml,D:\AGETIPA\PROJETS\21-05-21\8h10h\in\add\67h8-10.aggregatedemission1_edge.xml > --xlim 7000,14000 --ylim 9000,16000 --default-width .5 --default-color > #606060 --min-color-value -.1 --max-color-value .1 --max-width-value .1 > --max-width 3 --min-width .5 --colormap > #0:#00c000,.25:#408040,.5:#808080,.75:#804040,1:#c00000 > > And this is the result : > [image: Image en ligne] > > There's nothing showing. > > What did I do wrong? > I attached the edge emission output file in case it's needed. > > Thanks, > > *Ranarivelo Voahangy Antsa* > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
