Hello,
the tool plot_summary.py is only suitable for processing --summary-output
files. The more general question of getting numbers out of an XML file and
plotting them with a third-party program is too broad a scope to be
addressed in this mailing list. Please refer to the application-specific
documentation and mailing lists (i.e. http://www.gnuplot.info/)
If you cannot work with the XML output you may also use the tool xml2csv.py
(http://sumo-sim.org/wiki/Tools/Xml) which translates the sumo outputs into
flat-file formats which can be opened with spreadsheet applications.
regards,
Jakob


2014-08-09 19:58 GMT+02:00 Titus Rakkesh <[email protected]>:

> Dear Friends,
>       I have filtered the needed edge density data and attached that file
> for your reference. Pls have a look. By using this file, I have tried the
> following command,
>
> F:\2014_UCSC_Latest_Research\Simulation>python
> F:\2014_UCSC_Latest_Research\sumo-0.21.0\tools\visualization\plot_summary.py
> -i FilteredSummary.xml -m waitingTime
>
> But I got an empty Image. But my expectation is some thing like I have
> attached in the drawn image by hand. Pls assist, how I can get that.
>
> Thanks,
> Rakkesh
>
>
>
>
> On Fri, Aug 8, 2014 at 2:21 PM, Titus Rakkesh <[email protected]>
> wrote:
>
>> Thanks very much....:). I will try....:)
>>
>>
>> On Fri, Aug 8, 2014 at 1:48 PM, Jakob Erdmann <[email protected]
>> > wrote:
>>
>>> Hello,
>>> 1) no. You need to filter the output yourself or use a simulated
>>> detector (
>>> http://sumo-sim.org/wiki/Simulation/Output/Induction_Loops_Detectors_%28E1%29,
>>> http://sumo-sim.org/wiki/Simulation/Output/Lanearea_Detectors_%28E2%29)
>>>
>>> 2) number of vehicles per kilometer averaged over the length of the edge
>>> and the duration of the measurement interval
>>>
>>> 3) check http://sumo-sim.org/wiki/Tools/Visualization#plot_net_dump.py
>>> (doesn't plot timelines though), Or just parse the outputs and load them in
>>> your favorite plotting tool (we use both gnuplot and matplotlib).
>>>
>>> regards,
>>> Jakob
>>>
>>>
>>> 2014-08-08 9:52 GMT+02:00 Titus Rakkesh <[email protected]>:
>>>
>>>> Dear Friends,
>>>>      I have used the following in an additional file and dumped the
>>>> output
>>>> in a summary file.
>>>>
>>>>
>>>> <edgeData id="1" freq="300" excludeEmpty="true"
>>>> file="output/edgeSummary.xml"/>
>>>>
>>>>
>>>> After the simulation ran, I can be able to see an output file which
>>>> contains all edges summary I think. The following is a portion from the
>>>> summary file.
>>>>
>>>> edge id="-100223451" sampledSeconds="7.14" traveltime="1.23"
>>>> density="4.46"
>>>> occupancy="1.11" waitingTime="0.00" speed="4.35" departed="0"
>>>> arrived="0"
>>>> entered="3" left="3" laneChangedFrom="0" laneChangedTo="0"/>
>>>>
>>>>
>>>> I need to do 2 things here.
>>>>
>>>> 1. Rather than summarizing and printing for all edges, is it possible
>>>> limit
>>>> the output by specific edges?
>>>> 2. Here what is the density means? In the user guide or documentation,
>>>> it
>>>> is not clear.
>>>> 3.Is there anyway that I can show visually in a graph?
>>>>
>>>> Thanks,
>>>> Rakkesh
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Want fast and easy access to all the code in your enterprise? Index and
>>>> search up to 200,000 lines of code with a free copy of Black Duck
>>>> Code Sight - the same software that powers the world's largest code
>>>> search on Ohloh, the Black Duck Open Hub! Try it now.
>>>> http://p.sf.net/sfu/bds
>>>> _______________________________________________
>>>> sumo-user mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to