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 2254 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, TrackFP420.ax(), LocalTrackFit.ax, TrackFP420.ay(), LocalTrackFit.ay, svgfig.Ellipse.b, Quad.x, reco::MuonRPCHitMatch.x, stAPVGain.x, RPFlatParams::EP.x, gen::PdfInfo.x, EnergyDepositUnit.x(), SimplePixel.x, ScoutingVertex.x(), AmplitudeSegmentFP420.x(), reco::MuonChamberMatch.x, lumiregperbunch.bsmeas.x, TkLayerMap::XYbin.x, SignalPoint.x(), TwoBodyDecayParameters.x, reco::MuonMETCorrectionData.x(), Geom::Polar2Cartesian< T >.x(), SiStripFineDelayTOF.x(), EnergySegmentFP420.x(), PixelClusterizerBase::AccretionCluster.x, ME0DigiPreReco.x(), BinomialProbHelper.x(), HFShowerPhoton.x(), Phase2ITPixelCluster::Pixel.x, EcalTBHodoscopeRecInfoAlgo::BeamTrack.x, reco::MuonSegmentMatch.x, SiPixelCluster::Pixel.x, BeamSpotFakeConditions.x, PGlobalSimHit::Vtx.x, RHStopTracer::StopPoint.x, PhiInterval.x, ClusterShape.x, BSvsPVHistogramMaker.x(), egPM::AbsEtaNrClus.x, VertexType.x, TotemTestHistoClass::Hit.x, PV2DBase< float, VectorTag, LocalTag >.x(), PV2DBase< float, PointTag, LocalTag >.x(), PV2DBase< float, VectorTag, MeasurementTag >.x(), PV2DBase< float, PointTag, MeasurementTag >.x(), PV2DBase< T, VectorTag, FrameTag >.x(), PV2DBase< float, VectorTag, GlobalTag >.x(), PV2DBase< T, PointTag, FrameTag >.x(), PV2DBase< float, PointTag, GlobalTag >.x(), PV2DBase< double, PointTag, LocalTag >.x(), PV2DBase< T, PVType, FrameType >.x(), mathSSE::Rot3< align::Scalar >.x(), mathSSE::Rot3< Scalar >.x(), mathSSE::Rot3< double >.x(), mathSSE::Rot3< float >.x(), mathSSE::Rot3< T >.x(), Geom::Cylindrical2Cartesian< T >.x(), HcalForwardAnalysis::Photon.x, ParabolaFit::Point.x, BeamSpotOnline.x(), HGCalDigiValidation::digiInfo.x, RooCMSShape.x, MuScleFitMuon.x(), egPM::AbsEtaNrClusPhi.x, QcdLowPtDQM::Pixel.x(), Pixinfo.x, HGCalRecHitValidation::HitsInfo.x, funct::GaussLegendreIntegrator.x, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.x, reco::CastorCell.x(), Hit.x, PV3DBase< float, VectorTag, LocalTag >.x(), PV3DBase< float, VectorTag, MeasurementTag >.x(), PV3DBase< Scalar, VectorTag, GlobalTag >.x(), PV3DBase< T, VectorTag, FrameTag >.x(), PV3DBase< float, VectorTag, GlobalTag >.x(), PV3DBase< T, PointTag, FrameTag >.x(), PV3DBase< T, PVType, FrameType >.x(), DigitizerUtility::EnergyDepositUnit.x(), Basic2DVector< Scalar >.x(), Basic2DVector< double >.x(), Basic2DVector< float >.x(), Basic2DVector< T >.x(), PixelModule.x, HGCalSimHitValidation::hitsinfo.x, Clust.x, l1t::emtf::AMC13Header.x, python.rootplot.utilities.Hist2D.x, reco::BeamSpot.x(), egPM::AbsEtaNrClusEt.x, Geom::Spherical2Cartesian< T >.x(), CTPPSLocalTrackLite.x, PixelUnpackingRegions::Module.x, reco::CastorEgamma.x(), reco::CastorJet.x(), Rechit.x, Basic3DVector< long double >.x(), HcalForwardAnalysis.x, PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.x, hit.x, DigitizerUtility::SignalPoint.x(), VertexClassifier::GeneratedPrimaryVertex.x, QcdLowPtDQM::Vertex.x(), Geom::Cartesian2Cartesian3D< T >.x(), Basic3DVector< Scalar >.x(), Basic3DVector< double >.x(), Basic3DVector< float >.x(), Basic3DVector< T >.x(), reco::CastorCluster.x(), Phase2ITPixelCluster.x(), RecHitsSortedInPhi.x, SiPixelCluster.x(), GaussianSumUtilities1D::FinderState.x, SiStripRecHitsValid::RecHitProperties.x, reco::Vertex.x(), funct::GaussIntegrator.x, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.x, XHistogram::position.x, mathSSE::Rot2< Scalar >.x(), mathSSE::Rot2< T >.x(), TrackClassifier::GeneratedPrimaryVertex.x, MuonGeometryArrange::MGACollection.x, python.rootplot.utilities.Hist.x, ThOutput.x, ThOutput2.x, PhOutput.x, HGCalImagingAlgo::Hexel.x, lhef::HEPEUP::FiveVector.x, reco::CaloCluster.x(), EPOS::EPOS_Wrapper.x(), BeamSpotOnlineRaw_v4.x, HitDoublets.x(), SiPixelDigitizerAlgorithm::EnergyDepositUnit.x(), DeltaOutArr2.x, RawParticle.x(), DeltaOutArr3.x, MuScleFitUtils.x, SiPixelDigitizerAlgorithm::SignalPoint.x(), Rot3< Scalar >.x(), Rot3< double >.x(), Rot3< float >.x(), Rot3< align::Scalar >.x(), Rot3< T >.x(), SiStripTrackingRecHitsValid::RecHitProperties.x, perftools::detail::Hist.x, TkRotation< align::Scalar >.x(), TkRotation< T >.x(), TkRotation< Scalar >.x(), TkRotation< double >.x(), TkRotation< float >.x(), hitfit::Fourvec_Event.x(), Rot2< Scalar >.x(), Rot2< T >.x(), edmStreamStallGrapher.Point.x, AccretionCluster.x, TkRotation2D< Scalar >.x(), TkRotation2D< T >.x(), PDF.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, stAPVGain.y, RPFlatParams::EP.y, EnergyDepositUnit.y(), AmplitudeSegmentFP420.y(), ScoutingVertex.y(), SimplePixel.y, TkLayerMap::XYbin.y, reco::MuonChamberMatch.y, lumiregperbunch.bsmeas.y, RPCCluster.y(), SignalPoint.y(), TwoBodyDecayParameters.y, reco::MuonMETCorrectionData.y(), Geom::Polar2Cartesian< T >.y(), EnergySegmentFP420.y(), SiStripFineDelayTOF.y(), PixelClusterizerBase::AccretionCluster.y, HFShowerPhoton.y(), ME0DigiPreReco.y(), Phase2ITPixelCluster::Pixel.y, reco::MuonSegmentMatch.y, BeamSpotFakeConditions.y, PhiInterval.y, SiPixelCluster::Pixel.y, PGlobalSimHit::Vtx.y, RHStopTracer::StopPoint.y, ClusterShape.y, BSvsPVHistogramMaker.y(), VertexType.y, egPM::AbsEtaNrClus.y, TotemTestHistoClass::Hit.y, PV2DBase< T, PVType, FrameType >.y(), PV2DBase< float, VectorTag, MeasurementTag >.y(), PV2DBase< T, VectorTag, FrameTag >.y(), PV2DBase< double, PointTag, LocalTag >.y(), PV2DBase< float, PointTag, GlobalTag >.y(), PV2DBase< float, VectorTag, GlobalTag >.y(), PV2DBase< float, PointTag, LocalTag >.y(), PV2DBase< float, PointTag, MeasurementTag >.y(), PV2DBase< T, PointTag, FrameTag >.y(), PV2DBase< float, VectorTag, LocalTag >.y(), mathSSE::Rot3< double >.y(), mathSSE::Rot3< align::Scalar >.y(), mathSSE::Rot3< Scalar >.y(), mathSSE::Rot3< float >.y(), mathSSE::Rot3< T >.y(), Geom::Cylindrical2Cartesian< T >.y(), ParabolaFit::Point.y, HcalForwardAnalysis::Photon.y, BeamSpotOnline.y(), HGCalDigiValidation::digiInfo.y, MuScleFitMuon.y(), QcdLowPtDQM::Pixel.y(), egPM::AbsEtaNrClusPhi.y, HGCalRecHitValidation::HitsInfo.y, Pixinfo.y, MonitorTrackResidualsBase< pixel_or_strip >::HistoXY.y, Hit.y, reco::CastorCell.y(), DigitizerUtility::EnergyDepositUnit.y(), PV3DBase< T, VectorTag, FrameTag >.y(), PV3DBase< Scalar, VectorTag, GlobalTag >.y(), PV3DBase< float, VectorTag, GlobalTag >.y(), PV3DBase< float, VectorTag, MeasurementTag >.y(), PV3DBase< T, PointTag, FrameTag >.y(), PV3DBase< float, VectorTag, LocalTag >.y(), PV3DBase< T, PVType, FrameType >.y(), Basic2DVector< Scalar >.y(), Basic2DVector< T >.y(), Basic2DVector< double >.y(), Basic2DVector< float >.y(), HGCalSimHitValidation::hitsinfo.y, PixelModule.y, Clust.y, python.rootplot.utilities.Hist2D.y, egPM::AbsEtaNrClusEt.y, reco::BeamSpot.y(), Geom::Spherical2Cartesian< T >.y(), CTPPSLocalTrackLite.y, PixelUnpackingRegions::Module.y, Rechit.y, reco::CastorJet.y(), reco::CastorEgamma.y(), HcalForwardAnalysis.y, PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.y, Basic3DVector< long double >.y(), hit.y, DigitizerUtility::SignalPoint.y(), VertexClassifier::GeneratedPrimaryVertex.y, QcdLowPtDQM::Vertex.y(), Geom::Cartesian2Cartesian3D< T >.y(), Basic3DVector< Scalar >.y(), Basic3DVector< double >.y(), Basic3DVector< float >.y(), Basic3DVector< T >.y(), reco::CastorCluster.y(), RecHitsSortedInPhi.y, GaussianSumUtilities1D::FinderState.y, reco::Candidate.y(), Phase2ITPixelCluster.y(), SiStripRecHitsValid::RecHitProperties.y, contrib::CMSBoostedTauSeedingAlgorithmStructure.y(), SiPixelCluster.y(), reco::Vertex.y(), reco::Particle.y(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.y, XHistogram::position.y, reco::ParticleState.y(), mathSSE::Rot2< T >.y(), mathSSE::Rot2< Scalar >.y(), TrackClassifier::GeneratedPrimaryVertex.y, MuonGeometryArrange::MGACollection.y, HGCalImagingAlgo::Hexel.y, python.rootplot.utilities.Hist.y, reco::LeafCandidate.y(), CompositeRefCandidateT< reco::GenParticleRefVector >.y(), python.rootplot.root2matplotlib.Hist.y, UrbanMscModel93.y, reco::CaloCluster.y(), EPOS::EPOS_Wrapper.y(), BeamSpotOnlineRaw_v4.y, HitDoublets.y(), SiPixelDigitizerAlgorithm::EnergyDepositUnit.y(), CaloParticle.y(), SimCluster.y(), pat::PackedGenParticle.y(), TrackingParticle.y(), RawParticle.y(), SiPixelDigitizerAlgorithm::SignalPoint.y(), Rot3< double >.y(), Rot3< align::Scalar >.y(), Rot3< T >.y(), Rot3< Scalar >.y(), Rot3< float >.y(), SiStripTrackingRecHitsValid::RecHitProperties.y, TkRotation< Scalar >.y(), TkRotation< float >.y(), TkRotation< T >.y(), TkRotation< double >.y(), TkRotation< align::Scalar >.y(), Exhume::CrossSection.y, Rot2< T >.y(), Rot2< Scalar >.y(), edmStreamStallGrapher.Point.y, AccretionCluster.y, TkRotation2D< T >.y(), TkRotation2D< Scalar >.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 2267 of file svgfig.py.
References TrackFP420.ax(), LocalTrackFit.ax, TrackFP420.ay(), LocalTrackFit.ay, and svgfig.Ellipse.b.
Apply the transformation "trans" and return an SVG object.
Definition at line 2263 of file svgfig.py.
References SiStripHistoPlotter::PlotParameter.Path, Json::PathArgument.Path, and svgfig.Curve.Path().
svgfig.Ellipse.attr |
Definition at line 2260 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 2258 of file svgfig.py.
Referenced by svgfig.Ellipse.__repr__(), and svgfig.Ellipse.Path().
|
static |
Definition at line 2252 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.Ellipse.f |
Definition at line 2275 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 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().
svgfig.Ellipse.low |
Definition at line 2276 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().