A Discrete-Event Network Simulator
API
sample-rng-plot Namespace Reference

Variables

float alpha = 0.75
 Plot alpha value (transparency) More...
 
int density = 1
 Make a probability density histogram. More...
 
string facecolor = 'g'
  Plot color More...
 
 rng = ns.core.NormalRandomVariable()
 Random number generator. More...
 
list x = [rng.GetValue() for t in range(10000)]
 Random number samples. More...
 

Variable Documentation

◆ alpha

◆ density

◆ facecolor

sample-rng-plot.facecolor = 'g'

 Plot color

Definition at line 44 of file sample-rng-plot.py.

◆ rng

sample-rng-plot.rng = ns.core.NormalRandomVariable()

◆ x

list sample-rng-plot.x = [rng.GetValue() for t in range(10000)]

Random number samples.

Definition at line 37 of file sample-rng-plot.py.

Referenced by ns3::FixedRoomPositionAllocator.FixedRoomPositionAllocator(), ns3::PointToPointGridHelper.PointToPointGridHelper(), _cairo_uint_96by64_32x64_divrem(), ns3::SpectrumValue.Add(), ns3::ListPositionAllocator.Add(), ns3::Gnuplot2dDataset.Add(), ns3::Gnuplot3dDataset.Add(), ns3::dot11s::IeBeaconTiming.AidToU8(), LteEnbAntennaTestCase.BuildNameString(), ns3::ThreeGppChannelConditionModel.Calculate2dDistance(), ns3::ThreeGppPropagationLossModel.Calculate2dDistance(), ns3.cell_tooltip_callback(), ns3.cell_tooltip_callback_config_default(), nlohmann::detail::external_constructor< value_t::array >.construct(), anonymous_namespace{gnuplot-example.cc}.Create2DPlotFile(), anonymous_namespace{gnuplot-example.cc}.Create2DPlotWithErrorBarsFile(), anonymous_namespace{gnuplot-example.cc}.Create3DPlotFile(), TestCaseHelper.CreatWaveDevice(), DbToNoneDb(), ns3::RadioEnvironmentMapHelper.DelayedInstall(), ns3::SpectrumValue.Divide(), PointerAttributeTestCase.DoRun(), ns3::test::RandomVariable::UniformTestCase.DoRun(), ns3::test::RandomVariable::UniformAntitheticTestCase.DoRun(), ns3::test::RandomVariable::NormalTestCase.DoRun(), ns3::test::RandomVariable::NormalAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ExponentialTestCase.DoRun(), ns3::test::RandomVariable::ExponentialAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ParetoTestCase.DoRun(), ns3::test::RandomVariable::ParetoAntitheticTestCase.DoRun(), ns3::test::RandomVariable::WeibullTestCase.DoRun(), ns3::test::RandomVariable::WeibullAntitheticTestCase.DoRun(), ns3::test::RandomVariable::LogNormalTestCase.DoRun(), ns3::test::RandomVariable::LogNormalAntitheticTestCase.DoRun(), ns3::test::RandomVariable::GammaTestCase.DoRun(), ns3::test::RandomVariable::GammaAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ErlangTestCase.DoRun(), ns3::test::RandomVariable::ErlangAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ZipfTestCase.DoRun(), ns3::test::RandomVariable::ZipfAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ZetaTestCase.DoRun(), ns3::test::RandomVariable::ZetaAntitheticTestCase.DoRun(), ns3::test::RandomVariable::EmpiricalTestCase.DoRun(), ns3::test::RandomVariable::EmpiricalAntitheticTestCase.DoRun(), TcpHeaderGetSetTestCase.DoRun(), TcpOptionTSTestCase.DoRun(), ns3::DsssErrorRateModel.DqpskFunction(), DQPSKFunction(), f(), ns3::GeographicPositions.GeographicToCartesianCoordinates(), nlohmann::json_pointer< BasicJsonType >.get_unchecked(), ns3::ThreeGppChannelModel.GetChannel(), ns3::ThreeGppChannelModel.GetNewChannel(), ns3::RandomBuildingPositionAllocator.GetNext(), ns3::OutdoorPositionAllocator.GetNext(), ns3::RandomRoomPositionAllocator.GetNext(), ns3::SameRoomPositionAllocator.GetNext(), ns3::FixedRoomPositionAllocator.GetNext(), ns3::GridPositionAllocator.GetNext(), ns3::RandomRectanglePositionAllocator.GetNext(), ns3::RandomBoxPositionAllocator.GetNext(), ns3::RandomDiscPositionAllocator.GetNext(), ns3::UniformDiscPositionAllocator.GetNext(), ns3::Building.GetRoomX(), ns3::GammaRandomVariable.GetValue(), ns3::LogNormalRandomVariable.GetValue(), ns3.isNaN(), MRG32k3a.MatVecModM(), SpectrumValueTestCase.MoreOrLessEqual(), nlohmann::detail::dtoa_impl::diyfp.mul(), ns3::SpectrumValue.Multiply(), NoneDbToDb(), nlohmann::detail::dtoa_impl::diyfp.normalize(), nlohmann::detail::dtoa_impl::diyfp.normalize_to(), ns3::PacketSink::AddressHash.operator()(), ns3::QKDApp004::AddressHash.operator()(), ns3::QKDApp014::AddressHash.operator()(), ns3::QKDKeyManagerSystemApplication::AddressHash.operator()(), ns3::QKDSDNController::AddressHash.operator()(), ns3::Ipv4AddressHash.operator()(), ns3::Ipv6AddressHash.operator()(), ns3.operator<<(), operator==(), ns3.ParseNs2Line(), QFunction(), ns3::Hash::Function::Murmur3Implementation.rotl32(), ns3::Hash::Function::Murmur3Implementation.rotl64(), NetAnimExperiment.Run(), Experiment.Run(), ns3::RadioEnvironmentMapHelper.RunOneIteration(), nlohmann::detail::lexer< BasicJsonType, InputAdapterType >.scan_number(), ns3::AnimationInterface.SetBackgroundImage(), ns3::AnimationInterface.SetConstantPosition(), ns3::LteHexGridEnbTopologyHelper.SetPositionAndInstallEnbDevice(), ns3::RandomDiscPositionAllocator.SetX(), ns3::UniformDiscPositionAllocator.SetX(), ns3::OutdoorPositionAllocator.SetX(), ns3::RandomRectanglePositionAllocator.SetX(), ns3::RandomBoxPositionAllocator.SetX(), LteFrAreaTestCase.SimpleTeleportUe(), nlohmann::detail::dtoa_impl::diyfp.sub(), ns3::SpectrumValue.Subtract(), LteFrAreaTestCase.TeleportUe(), LteUplinkPowerControlTestCase.TeleportUe(), LteFrAreaTestCase.TeleportUe2(), ns3::dot11s::PeerManagementProtocol.TimeToTu(), nlohmann::detail::binary_writer< BasicJsonType, CharType >.to_char_type(), ns3::dot11s::PeerManagementProtocol.TuToTime(), ns3::Average< T >.Update(), ns3::AnimationInterface.UpdatePosition(), ns3::GnuplotAggregator.Write2d(), ns3::GnuplotAggregator.Write2dWithXErrorDelta(), ns3::GnuplotAggregator.Write2dWithXYErrorDelta(), ns3::GnuplotAggregator.Write2dWithYErrorDelta(), ns3::AnimationInterface.WriteXmlUpdateBackground(), and ns3::AnimationInterface.WriteXmlUpdateNodePosition().