I want to plot the graph using GNU file....what command can I use?
Thank you,
Dear Abdelbasset,
Dear pedi pedro,
Even when using NS-3.20 the code works well and it gives me the attached plot. Review your code
--
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/-BnPRmJwcGs/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.
//flowMonitor declaration
FlowMonitorHelper fmHelper;
Ptr<FlowMonitor> allMon = fmHelper.InstallAll();
// call the flow monitor function
ThroughputMonitor(&fmHelper, allMon, dataset);
Simulator::Schedule (Seconds (m_totalTime), &MeshTest::Report, this);
Simulator::Stop (Seconds (m_totalTime));
Simulator::Run ();
//Gnuplot ...continued
gnuplot.AddDataset (dataset);
// Open the plot file.
std::ofstream plotFile (plotFileName.c_str());
// Write the plot file.
gnuplot.GenerateOutput (plotFile);
// Close the plot file.
plotFile.close ();
Simulator::Destroy ();
return 0;
}
or do i need to add other code as well.Kindly guide me