Public Member Functions | |
def | __init__ (self, xmin, xmax, ymin, ymax, ticks=-10, miniticks=False, logbase=None, mini_attr={}, attr) |
def | __repr__ (self) |
def | SVG (self, trans=None) |
Public Member Functions inherited from svgfig.Ticks | |
def | __init__ (self, f, low, high, ticks=-10, miniticks=True, labels=True, logbase=None, arrow_start=None, arrow_end=None, text_attr={}, attr) |
def | __repr__ (self) |
def | compute_logminiticks (self, base) |
def | compute_logticks (self, base, N, format) |
def | compute_miniticks (self, original_ticks) |
def | compute_ticks (self, N, format) |
def | interpret (self) |
def | orient_tickmark (self, t, trans=None) |
def | regular_miniticks (self, N) |
def | SVG (self, trans=None) |
Public Attributes | |
attr | |
high | |
last_xminiticks | |
last_yminiticks | |
mini_attr | |
xmax | |
ymax | |
Public Attributes inherited from svgfig.Ticks | |
arrow_end | |
arrow_start | |
attr | |
f | |
high | |
labels | |
last_miniticks | |
logbase | |
low | |
miniticks | |
text_attr | |
ticks | |
Static Public Attributes | |
dictionary | defaults = {"stroke-width":"0.25pt", "stroke":"gray"} |
dictionary | mini_defaults = {"stroke-width":"0.25pt", "stroke":"lightgray", "stroke-dasharray":"1,1"} |
Static Public Attributes inherited from svgfig.Ticks | |
dictionary | defaults = {"stroke-width":"0.25pt"} |
float | minitick_end = 0.75 |
float | minitick_start = -0.75 |
int | text_angle = 0 |
dictionary | text_defaults = {"stroke":"none", "fill":"black", "font-size":5} |
float | text_start = 2.5 |
float | tick_end = 1.5 |
float | tick_start = -1.5 |
Draws a grid over a specified region using the standard tick specification (see help(Ticks)) to place the grid lines. Grid(xmin, xmax, ymin, ymax, ticks, miniticks, logbase, mini_attr, attribute=value) xmin, xmax required the x range ymin, ymax required the y range ticks default=-10 request ticks according to the standard tick specification (see help(Ticks)) miniticks default=False request miniticks according to the standard minitick specification logbase default=None if a number, the axis is logarithmic with ticks at the given base (usually 10) mini_attr default={} SVG attributes for the minitick-lines (if miniticks != False) attribute=value pairs keyword list SVG attributes for the major tick lines
def svgfig.Grid.__init__ | ( | self, | |
xmin, | |||
xmax, | |||
ymin, | |||
ymax, | |||
ticks = -10 , |
|||
miniticks = False , |
|||
logbase = None , |
|||
mini_attr = {} , |
|||
attr | |||
) |
Definition at line 3246 of file svgfig.py.
def svgfig.Grid.__repr__ | ( | self | ) |
Definition at line 3243 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, svgfig.Poly.attr, svgfig.Text.attr, svgfig.TextGlobal.attr, svgfig.Dots.attr, svgfig.Line.attr, svgfig.LineGlobal.attr, svgfig.VLine.attr, svgfig.HLine.attr, svgfig.Rect.attr, svgfig.Ellipse.attr, svgfig.Ticks.attr, svgfig.Ticks.miniticks, harvestTrackValidationPlots.str, svgfig.Ticks.ticks, svgfig.Axes.xmax, svgfig.HGrid.xmax, svgfig.Grid.xmax, fftjetcms::LookupTable2d.xmin(), PixelClusterizerBase::AccretionCluster.xmin, AbsHcalFunctor.xmin(), MEPSet.xmin, MEbinning.xmin, HcalLinearCompositionFunctor.xmin(), HcalChebyshevFunctor.xmin(), HcalCubicInterpolator.xmin(), HcalInterpolatedTableFunctor.xmin(), HcalPolynomialFunctor.xmin(), ClusterizingHistogram.xmin, HcalPiecewiseLinearFunctor.xmin(), SummationStep.xmin, BremsstrahlungSimulator.xmin, GammaFunctionGenerator.xmin, fftjetcms::LinInterpolatedTable1D.xmin(), MuonBremsstrahlungSimulator.xmin, BaseNumericalRandomGenerator.xmin, NoBPTXMonitor::NoBPTXbinning.xmin, HLTObjectsMonitor::MEbinning.xmin, cscdqm::AddressBox.xmin, TrackerMap.xmin, svgfig.Plot.ymax, svgfig.Frame.ymax, svgfig.Axes.ymax, svgfig.VGrid.ymax, svgfig.Grid.ymax, fftjetcms::LookupTable2d.ymin(), PixelClusterizerBase::AccretionCluster.ymin, Exhume::Event.ymin, cscdqm::AddressBox.ymin, and TrackerMap.ymin.
Referenced by data_sources.json_file.__str__().
Apply the transformation "trans" and return an SVG object.
svgfig.Grid.attr |
Definition at line 3255 of file svgfig.py.
Referenced by svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
|
static |
Definition at line 3240 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
|
static |
svgfig.Grid.xmax |
Definition at line 3247 of file svgfig.py.
Referenced by svgfig.XAxis.__repr__(), and svgfig.Grid.__repr__().
svgfig.Grid.ymax |
Definition at line 3248 of file svgfig.py.
Referenced by svgfig.YAxis.__repr__(), and svgfig.Grid.__repr__().