Public Member Functions | |
def | __init__ (self, x1, y1, x2, y2, 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 | |
f | |
high | |
loop | |
low | |
y2 | |
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 a rectangle. Rect(x1, y1, x2, y2, attribute=value) x1, y1 required the starting point x2, y2 required the ending point attribute=value pairs keyword list SVG attributes
def svgfig.Rect.__repr__ | ( | self | ) |
Definition at line 2191 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, reco::PdfInfo.x1, L1MonitorDigi.x1(), L1DataEmulDigi.x1(), CTPPSFastTrack.x1(), TrackingTools_PatternTools::dictionary.x1, DDTrap.x1(), DataFormats_TrackReco::dictionary.x1, DataFormats_METReco::dictionary.x1, DDPseudoTrap.x1(), Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), CTPPSFastTrack.x2(), TrackingTools_PatternTools::dictionary.x2, DDTrap.x2(), DataFormats_TrackReco::dictionary.x2, DDPseudoTrap.x2(), DataFormats_METReco::dictionary.x2, Exhume::CrossSection.x2, svgfig.VLine.x2, svgfig.YAxis.x2, CTPPSFastTrack.y1(), DDTrap.y1(), DDPseudoTrap.y1(), svgfig.HLine.y1, svgfig.XAxis.y1, svgfig.Line.y2, svgfig.LineGlobal.y2, svgfig.HLine.y2, and svgfig.Rect.y2.
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 2204 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, reco::PdfInfo.x1, L1MonitorDigi.x1(), L1DataEmulDigi.x1(), CTPPSFastTrack.x1(), TrackingTools_PatternTools::dictionary.x1, DDTrap.x1(), DataFormats_TrackReco::dictionary.x1, DataFormats_METReco::dictionary.x1, DDPseudoTrap.x1(), Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), CTPPSFastTrack.x2(), TrackingTools_PatternTools::dictionary.x2, DDTrap.x2(), DataFormats_TrackReco::dictionary.x2, DDPseudoTrap.x2(), DataFormats_METReco::dictionary.x2, Exhume::CrossSection.x2, svgfig.VLine.x2, svgfig.YAxis.x2, CTPPSFastTrack.y1(), DDTrap.y1(), DDPseudoTrap.y1(), svgfig.HLine.y1, svgfig.XAxis.y1, svgfig.Line.y2, svgfig.LineGlobal.y2, svgfig.HLine.y2, and svgfig.Rect.y2.
Apply the transformation "trans" and return an SVG object.
Definition at line 2200 of file svgfig.py.
References SiStripHistoPlotter::PlotParameter.Path, Json::PathArgument.Path, and svgfig.Curve.Path().
svgfig.Rect.attr |
Definition at line 2197 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().
|
static |
Definition at line 2189 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.Rect.f |
Definition at line 2216 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.Rect.high |
Definition at line 2213 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.Rect.low |
Definition at line 2212 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.Rect.y2 |
Definition at line 2195 of file svgfig.py.
Referenced by svgfig.Rect.__repr__(), and svgfig.Rect.Path().