Public Member Functions | |
def | __init__ |
def | __repr__ |
def | Path |
def | SVG |
Public Member Functions inherited from svgfig.Curve | |
def | __init__ |
def | __repr__ |
def | Path |
def | sample |
end nested class More... | |
def | subsample |
def | SVG |
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 |
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(), DDTrap.x1(), DDPseudoTrap.x1(), dictionary.x1, Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), DDTrap.x2(), DDPseudoTrap.x2(), dictionary.x2, Exhume::CrossSection.x2, svgfig.VLine.x2, svgfig.YAxis.x2, 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 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(), DDTrap.x1(), DDPseudoTrap.x1(), dictionary.x1, Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), DDTrap.x2(), DDPseudoTrap.x2(), dictionary.x2, Exhume::CrossSection.x2, svgfig.VLine.x2, svgfig.YAxis.x2, DDTrap.y1(), DDPseudoTrap.y1(), svgfig.HLine.y1, svgfig.XAxis.y1, svgfig.Line.y2, svgfig.LineGlobal.y2, svgfig.HLine.y2, and svgfig.Rect.y2.
def svgfig.Rect.SVG | ( | self, | |
trans = None |
|||
) |
Apply the transformation "trans" and return an SVG object.
Definition at line 2200 of file svgfig.py.
References SiPixelHistoPlotter::PlotParameter.Path, SiStripHistoPlotter::PlotParameter.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().
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(), 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().