Example for plotting satellite link results data. More...
Public Member Functions | |
SatLinkResultsPlot () | |
Creates an empty instance. More... | |
void | Run () |
Load link results data files and generate plots from them. More... | |
Private Member Functions | |
Gnuplot | GetGnuplot (std::string outputName, std::string title) |
Gnuplot2dDataset | GetGnuplotDataset (Ptr< SatLookUpTable > table, std::string title) |
void | RunDvbRcs2Psk8 () |
void | RunDvbRcs2Qam16 () |
void | RunDvbRcs2Qpsk () |
void | RunDvbS2Apsk16 () |
void | RunDvbS2Apsk32 () |
void | RunDvbS2Psk8 () |
void | RunDvbS2Qpsk () |
Private Attributes | |
std::string | m_inputPath |
double | m_maxSinrDb |
double | m_minSinrDb |
double | m_resolutionDb |
Example for plotting satellite link results data.
This example can be run as it is, without any argument, i.e.:
$ ./waf --run="link-results-plot"
Several Gnuplot files (.plt) will be generated as output. Each of these files can be converted to a PNG file, for example by this command:
$ gnuplot s2-32apsk.plt
which will produce s2-32apsk.png
file in the same directory. To convert all the Gnuplot files in the directory, the command below can be used:
$ gnuplot *.plt
Definition at line 62 of file sat-link-results-plot.cc.
ns3::SatLinkResultsPlot::SatLinkResultsPlot | ( | ) |
Creates an empty instance.
Definition at line 89 of file sat-link-results-plot.cc.
References m_inputPath, m_maxSinrDb, m_minSinrDb, and m_resolutionDb.
|
private |
Definition at line 416 of file sat-link-results-plot.cc.
Referenced by RunDvbRcs2Psk8(), RunDvbRcs2Qam16(), RunDvbRcs2Qpsk(), RunDvbS2Apsk16(), RunDvbS2Apsk32(), RunDvbS2Psk8(), and RunDvbS2Qpsk().
|
private |
Definition at line 372 of file sat-link-results-plot.cc.
References m_maxSinrDb, m_minSinrDb, and m_resolutionDb.
Referenced by RunDvbRcs2Psk8(), RunDvbRcs2Qam16(), RunDvbRcs2Qpsk(), RunDvbS2Apsk16(), RunDvbS2Apsk32(), RunDvbS2Psk8(), and RunDvbS2Qpsk().
void ns3::SatLinkResultsPlot::Run | ( | ) |
Load link results data files and generate plots from them.
Definition at line 99 of file sat-link-results-plot.cc.
References RunDvbRcs2Psk8(), RunDvbRcs2Qam16(), RunDvbRcs2Qpsk(), RunDvbS2Apsk16(), RunDvbS2Apsk32(), RunDvbS2Psk8(), and RunDvbS2Qpsk().
|
private |
Definition at line 165 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 203 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 111 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 309 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 344 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 275 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 235 of file sat-link-results-plot.cc.
References GetGnuplot(), GetGnuplotDataset(), and m_inputPath.
Referenced by Run().
|
private |
Definition at line 85 of file sat-link-results-plot.cc.
Referenced by SatLinkResultsPlot(), RunDvbRcs2Psk8(), RunDvbRcs2Qam16(), RunDvbRcs2Qpsk(), RunDvbS2Apsk16(), RunDvbS2Apsk32(), RunDvbS2Psk8(), and RunDvbS2Qpsk().
|
private |
Definition at line 84 of file sat-link-results-plot.cc.
Referenced by SatLinkResultsPlot(), and GetGnuplotDataset().
|
private |
Definition at line 83 of file sat-link-results-plot.cc.
Referenced by SatLinkResultsPlot(), and GetGnuplotDataset().
|
private |
Definition at line 82 of file sat-link-results-plot.cc.
Referenced by SatLinkResultsPlot(), and GetGnuplotDataset().