Public Member Functions | |
def | __init__ (self, x, y, ax, ay, b, attr) |
def | __repr__ (self) |
def | Path (self, trans=None, local=False) |
def | SVG (self, trans=None) |
Public Member Functions inherited from svgfig.Curve | |
def | __init__ (self, f, low, high, loop=False, attr) |
def | __repr__ (self) |
def | Path (self, trans=None, local=False) |
def | sample (self, trans=None) |
end nested class More... | |
def | subsample (self, left, right, depth, trans=None) |
def | SVG (self, trans=None) |
Public Attributes | |
attr | |
b | |
f | |
high | |
loop | |
low | |
Public Attributes inherited from svgfig.Curve | |
attr | |
f | |
high | |
last_samples | |
loop | |
low | |
Static Public Attributes | |
dictionary | defaults = {} |
Static Public Attributes inherited from svgfig.Curve | |
dictionary | defaults = {} |
int | discontinuity_limit = 5 |
float | linearity_limit = 0.05 |
bool | random_sampling = True |
int | recursion_limit = 15 |
Draws an ellipse from a semimajor vector (ax,ay) and a semiminor length (b). Ellipse(x, y, ax, ay, b, attribute=value) x, y required the center of the ellipse/circle ax, ay required a vector indicating the length and direction of the semimajor axis b required the length of the semiminor axis. If equal to sqrt(ax2 + ay2), the ellipse is a circle attribute=value pairs keyword list SVG attributes (If sqrt(ax**2 + ay**2) is less than b, then (ax,ay) is actually the semiminor axis.)
def svgfig.Ellipse.__init__ | ( | self, | |
x, | |||
y, | |||
ax, | |||
ay, | |||
b, | |||
attr | |||
) |
def svgfig.Ellipse.__repr__ | ( | self | ) |
Definition at line 2255 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, TrackFP420.ax(), TrackFP420.ay(), svgfig.Ellipse.b, Quad.x, reco::MuonRPCHitMatch.x, RPFlatParams::EP.x, stAPVGain.x, gen::PdfInfo.x, MadKinematicDescriptor.x, EnergyDepositUnit.x(), AmplitudeSegmentFP420.x(), TwoBodyDecayParameters.x, TkLayerMap::XYbin.x, SimplePixel.x, ScoutingVertex.x(), SignalPoint.x(), reco::MuonChamberMatch.x, lumiregperbunch.bsmeas.x, EnergySegmentFP420.x(), Geom::Polar2Cartesian< T >.x(), reco::MuonMETCorrectionData.x(), SiStripFineDelayTOF.x(), HFShowerPhoton.x(), ME0DigiPreReco.x(), PixelClusterizerBase::AccretionCluster.x, CTPPSTimingLocalTrack.x, online::BeamSpot_v1.x, HGCal_helpers::Coordinates.x, LHCInterpolatedOpticalFunctionsSet::Kinematics.x, BinomialProbHelper.x(), FTLCluster::FTLHit.x(), EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, Phase2ITPixelCluster::Pixel.x, reco::MuonSegmentMatch.x, BeamSpotFakeConditions.x, SiPixelCluster::Pixel.x, PhiInterval.x, BSvsPVHistogramMaker.x(), ClusterShape.x, RHStopTracer::StopPoint.x, TotemTestHistoClass::Hit.x, VertexType.x, PGlobalSimHit::Vtx.x, MTDHit.x, MTDClusterizerBase::AccretionCluster.x, egPM::AbsEtaNrClus.x, PV2DBase< float, PointTag, LocalTag >.x(), PV2DBase< T, VectorTag, FrameTag >.x(), PV2DBase< float, VectorTag, GlobalTag >.x(), PV2DBase< T, PointTag, FrameTag >.x(), PV2DBase< double, PointTag, LocalTag >.x(), PV2DBase< T, PVType, FrameType >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< align::Scalar >.x(), mathSSE::Rot3< T >.x(), Geom::Cylindrical2Cartesian< T >.x(), HcalForwardAnalysis::Photon.x, ParabolaFit::Point.x, BeamSpotOnline.x(), RooCMSShape.x, MuScleFitMuon.x(), HGCalRecHitValidation::HitsInfo.x, Pixinfo.x, egPM::AbsEtaNrClusPhi.x, funct::GaussLegendreIntegrator.x, QcdLowPtDQM::Pixel.x(), reco::CastorCell.x(), Hit.x, PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< T, PVType, FrameType >.x(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, DigitizerUtility::EnergyDepositUnit.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), HGCalDigiValidation::digiInfo.x, Basic2DVector< T >.x(), HGCalSimHitValidation::hitsinfo.x, PixelModule.x, Clust.x, l1t::emtf::AMC13Header.x, reco::BeamSpot.x(), python.rootplot.utilities.Hist2D.x, Geom::Spherical2Cartesian< T >.x(), egPM::AbsEtaNrClusEt.x, VertexClassifier::GeneratedPrimaryVertex.x, PixelUnpackingRegions::Module.x, reco::CastorEgamma.x(), reco::CastorJet.x(), Rechit.x, HcalForwardAnalysis.x, Basic3DVector< long double >.x(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, hit.x, DigitizerUtility::SignalPoint.x(), Geom::Cartesian2Cartesian3D< T >.x(), QcdLowPtDQM::Vertex.x(), Basic3DVector< Scalar >.x(), Basic3DVector< float >.x(), Basic3DVector< T >.x(), reco::CastorCluster.x(), Phase2ITPixelCluster.x(), RecHitsSortedInPhi.x, SiPixelCluster.x(), GaussianSumUtilities1D::FinderState.x, XHistogram::position.x, FTLCluster.x(), SiStripRecHitsValid::RecHitProperties.x, TrackClassifier::GeneratedPrimaryVertex.x, reco::Vertex.x(), funct::GaussIntegrator.x, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, mathSSE::Rot2< Scalar >.x(), mathSSE::Rot2< T >.x(), CTPPSLocalTrackLite.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, SOAFrame< T >.x(), HGCalCLUEAlgo::Hexel.x, reco::CaloCluster.x(), EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, HGCalImagingAlgo::Hexel.x, lhef::HEPEUP::FiveVector.x, HitDoublets.x(), RawParticle.x(), MuScleFitUtils.x, SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), Rot3< Scalar >.x(), Rot3< double >.x(), Rot3< float >.x(), Rot3< align::Scalar >.x(), Rot3< T >.x(), SiStripTrackingRecHitsValid::RecHitProperties.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), perftools::detail::Hist.x, TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), TkRotation< align::Scalar >.x(), TkRotation< T >.x(), hitfit::Fourvec_Event.x(), Rot2< Scalar >.x(), Rot2< T >.x(), TkRotation2D< Scalar >.x(), TkRotation2D< T >.x(), PDF.x, edmStreamStallGrapher.Point.x, svgfig.Plot.x, svgfig.Frame.x, Vispa.Views.LineDecayView.DecayNode.x(), PMuonSimHit::Vtx.x, PTrackerSimHit::Vtx.x, svgfig.Text.x, svgfig.TextGlobal.x, svgfig.VLine.x, Quad.y, RPFlatParams::EP.y, stAPVGain.y, EnergyDepositUnit.y(), TwoBodyDecayParameters.y, TkLayerMap::XYbin.y, AmplitudeSegmentFP420.y(), MadKinematicDescriptor.y, SimplePixel.y, SignalPoint.y(), ScoutingVertex.y(), RPCCluster.y(), reco::MuonChamberMatch.y, lumiregperbunch.bsmeas.y, EnergySegmentFP420.y(), reco::MuonMETCorrectionData.y(), Geom::Polar2Cartesian< T >.y(), SiStripFineDelayTOF.y(), HFShowerPhoton.y(), CTPPSTimingLocalTrack.y, PixelClusterizerBase::AccretionCluster.y, ME0DigiPreReco.y(), online::BeamSpot_v1.y, HGCal_helpers::Coordinates.y, FTLCluster::FTLHit.y(), LHCInterpolatedOpticalFunctionsSet::Kinematics.y, Phase2ITPixelCluster::Pixel.y, reco::MuonSegmentMatch.y, BeamSpotFakeConditions.y, PhiInterval.y, SiPixelCluster::Pixel.y, ClusterShape.y, RHStopTracer::StopPoint.y, BSvsPVHistogramMaker.y(), TotemTestHistoClass::Hit.y, VertexType.y, PGlobalSimHit::Vtx.y, MTDHit.y, MTDClusterizerBase::AccretionCluster.y, egPM::AbsEtaNrClus.y, PV2DBase< double, PointTag, LocalTag >.y(), PV2DBase< T, VectorTag, FrameTag >.y(), PV2DBase< float, PointTag, LocalTag >.y(), PV2DBase< float, VectorTag, GlobalTag >.y(), PV2DBase< T, PointTag, FrameTag >.y(), PV2DBase< T, PVType, FrameType >.y(), mathSSE::Rot3< T >.y(), mathSSE::Rot3< align::Scalar >.y(), mathSSE::Rot3< double >.y(), mathSSE::Rot3< Scalar >.y(), mathSSE::Rot3< float >.y(), ParabolaFit::Point.y, HcalForwardAnalysis::Photon.y, Geom::Cylindrical2Cartesian< T >.y(), BeamSpotOnline.y(), MuScleFitMuon.y(), HGCalRecHitValidation::HitsInfo.y, Pixinfo.y, egPM::AbsEtaNrClusPhi.y, QcdLowPtDQM::Pixel.y(), Hit.y, reco::CastorCell.y(), PV3DBase< T, VectorTag, FrameTag >.y(), PV3DBase< Scalar, VectorTag, GlobalTag >.y(), DigitizerUtility::EnergyDepositUnit.y(), MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, PV3DBase< T, PVType, FrameType >.y(), PV3DBase< float, VectorTag, LocalTag >.y(), PV3DBase< T, PointTag, FrameTag >.y(), HGCalDigiValidation::digiInfo.y, Basic2DVector< Scalar >.y(), Basic2DVector< double >.y(), Basic2DVector< float >.y(), Basic2DVector< T >.y(), HGCalSimHitValidation::hitsinfo.y, PixelModule.y, Clust.y, reco::BeamSpot.y(), Geom::Spherical2Cartesian< T >.y(), python.rootplot.utilities.Hist2D.y, egPM::AbsEtaNrClusEt.y, VertexClassifier::GeneratedPrimaryVertex.y, PixelUnpackingRegions::Module.y, Rechit.y, reco::CastorEgamma.y(), reco::CastorJet.y(), HcalForwardAnalysis.y, PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.y, Basic3DVector< long double >.y(), hit.y, DigitizerUtility::SignalPoint.y(), Geom::Cartesian2Cartesian3D< T >.y(), QcdLowPtDQM::Vertex.y(), Basic3DVector< float >.y(), Basic3DVector< Scalar >.y(), Basic3DVector< T >.y(), reco::CastorCluster.y(), RecHitsSortedInPhi.y, GaussianSumUtilities1D::FinderState.y, XHistogram::position.y, reco::Candidate.y(), Phase2ITPixelCluster.y(), SiStripRecHitsValid::RecHitProperties.y, TrackClassifier::GeneratedPrimaryVertex.y, contrib::CMSBoostedTauSeedingAlgorithmStructure.y(), SiPixelCluster.y(), FTLCluster.y(), reco::Vertex.y(), reco::Particle.y(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.y, reco::ParticleState.y(), mathSSE::Rot2< Scalar >.y(), mathSSE::Rot2< T >.y(), MuonGeometryArrange::MGACollection.y, CTPPSLocalTrackLite.y, python.rootplot.utilities.Hist.y, reco::LeafCandidate.y(), SOAFrame< T >.y(), python.rootplot.root2matplotlib.Hist.y, CaloParticle.y(), UrbanMscModel93.y, HGCalCLUEAlgo::Hexel.y, SimCluster.y(), EPOS::EPOS_Wrapper.y(), BeamSpotOnlineRaw_v4.y, reco::CaloCluster.y(), HGCalImagingAlgo::Hexel.y, HitDoublets.y(), RawParticle.y(), TrackingParticle.y(), pat::PackedGenParticle.y(), SiPixelDigitizerAlgorithm::EnergyDepositUnit.y(), Rot3< T >.y(), Rot3< double >.y(), Rot3< float >.y(), Rot3< Scalar >.y(), Rot3< align::Scalar >.y(), SiStripTrackingRecHitsValid::RecHitProperties.y, SiPixelDigitizerAlgorithm::SignalPoint.y(), TkRotation< align::Scalar >.y(), TkRotation< double >.y(), Exhume::CrossSection.y, TkRotation< T >.y(), TkRotation< float >.y(), TkRotation< Scalar >.y(), Rot2< T >.y(), Rot2< Scalar >.y(), TkRotation2D< Scalar >.y(), TkRotation2D< T >.y(), edmStreamStallGrapher.Point.y, pat::PackedCandidate.y(), svgfig.Plot.y, svgfig.Frame.y, Vispa.Views.LineDecayView.DecayNode.y(), PMuonSimHit::Vtx.y, svgfig.Curve.Sample.y, PTrackerSimHit::Vtx.y, svgfig.Text.y, svgfig.TextGlobal.y, and svgfig.HLine.y.
Referenced by data_sources.json_file.__str__().
Apply the transformation "trans" and return a Path object in global coordinates. If local=True, return a Path in local coordinates (which must be transformed again).
Definition at line 2268 of file svgfig.py.
References TrackFP420.ax(), TrackFP420.ay(), and svgfig.Ellipse.b.
Apply the transformation "trans" and return an SVG object.
Definition at line 2264 of file svgfig.py.
References SiStripHistoPlotter::PlotParameter.Path, Json::PathArgument.Path, and svgfig.Curve.Path().
svgfig.Ellipse.attr |
Definition at line 2261 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.Axes.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Grid.__repr__(), svgfig.Axes.SVG(), svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
svgfig.Ellipse.b |
Definition at line 2259 of file svgfig.py.
Referenced by svgfig.Ellipse.__repr__(), and svgfig.Ellipse.Path().
|
static |
Definition at line 2253 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.Ellipse.f |
Definition at line 2276 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), Vispa.Views.RootCanvasView.RootCanvasView.createGraph(), Vispa.Views.RootCanvasView.RootCanvasView.createLegoPlot(), ztail.Decoder.initial_synchronize(), and svgfig.Ticks.orient_tickmark().
svgfig.Ellipse.high |
Definition at line 2278 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Ticks.compute_logminiticks(), svgfig.Ticks.compute_logticks(), svgfig.Ticks.compute_miniticks(), svgfig.Ticks.compute_ticks(), svgfig.Ticks.interpret(), svgfig.Ticks.orient_tickmark(), and svgfig.Ticks.regular_miniticks().
svgfig.Ellipse.low |
Definition at line 2277 of file svgfig.py.
Referenced by svgfig.Ticks.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Ticks.compute_logminiticks(), svgfig.Ticks.compute_logticks(), svgfig.Ticks.compute_miniticks(), svgfig.Ticks.compute_ticks(), svgfig.Ticks.interpret(), svgfig.Ticks.orient_tickmark(), and svgfig.Ticks.regular_miniticks().