ploting xml file

336 views
Skip to first unread message

Sbaih Nizar

unread,
Apr 16, 2014, 8:44:55 AM4/16/14
to ns-3-...@googlegroups.com
Hi family,

I executed the script mesh.cc (src/example/mesh...), it gives me 6 xml files. how can i plot this xml files ?

Regards

Konstantinos

unread,
Apr 16, 2014, 8:54:40 AM4/16/14
to ns-3-...@googlegroups.com
First you have to analyse those XML files and then you can plot what you want from that file.
You need to create a parser to read the XML file, get the useful information and then plot it.

Sbaih Nizar

unread,
Apr 16, 2014, 9:09:55 AM4/16/14
to ns-3-...@googlegroups.com
Thank you Konstantinos for your reply, I'm new in ns-3.
I traced the throughput vs Flow in mesh network topologie with gnuplot : gnuplot File_Name.plt, but with xml file NOT. I need to understand how read data from xml file. Help me plz. how to create a parser to read the XML file.
Regards


--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/fyekduh9KDQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Konstantinos

unread,
Apr 16, 2014, 9:31:58 AM4/16/14
to ns-3-...@googlegroups.com
The XML files generated from MESH device holds a lot statistics for the device and MAC protocol (read the documentation and the file to see more). 
What do you want to get from that file? 

For parsing an XML file you can find a lot of tutorials online. 

On Wednesday, April 16, 2014 2:09:55 PM UTC+1, Sbaih Nizar wrote:
Thank you Konstantinos for your reply, I'm new in ns-3.
I traced the throughput vs Flow in mesh network topologie with gnuplot : gnuplot File_Name.plt, but with xml file NOT. I need to understand how read data from xml file. Help me plz. how to create a parser to read the XML file.
Regards
2014-04-16 12:54 GMT+00:00 Konstantinos <dinos.k...@gmail.com>:
First you have to analyse those XML files and then you can plot what you want from that file.
You need to create a parser to read the XML file, get the useful information and then plot it.


On Wednesday, April 16, 2014 1:44:55 PM UTC+1, Sbaih Nizar wrote:
Hi family,

I executed the script mesh.cc (src/example/mesh...), it gives me 6 xml files. how can i plot this xml files ?

Regards

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/fyekduh9KDQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.

Sbaih Nizar

unread,
Apr 16, 2014, 9:45:54 AM4/16/14
to ns-3-...@googlegroups.com
Thank you,
I need to trace the evolution of the end-to-end throughput, packet drop, packet delivery and delay in mesh networks.
Reply all
Reply to author
Forward
0 new messages