Public Member Functions | |
def | __init__ |
def | __repr__ |
def | SVG |
Public Attributes | |
axis_attr | |
d | |
flipx | |
flipy | |
height | |
last_window | |
minusInfinity | |
text_attr | |
width | |
x | |
x2labels | |
xlabels | |
xlogbase | |
xminiticks | |
xticks | |
xtitle | |
y | |
y2labels | |
ylabels | |
ylogbase | |
ymax | |
yminiticks | |
yticks | |
ytitle | |
Static Public Attributes | |
dictionary | axis_defaults = {} |
float | minitick_length = 0.75 |
dictionary | text_defaults = {"stroke":"none", "fill":"black", "font-size":5} |
int | text_xaxis_offset = 1 |
int | text_xtitle_offset = 6 |
int | text_yaxis_offset = 2 |
int | text_ytitle_offset = 12 |
float | tick_length = 1.5 |
def svgfig.Frame.__init__ | ( | self, | |
xmin, | |||
xmax, | |||
ymin, | |||
ymax, | |||
d, | |||
kwds | |||
) |
Acts like Fig, but draws a coordinate frame around the data. You also need to supply plot ranges. Frame(xmin, xmax, ymin, ymax, obj, obj, obj..., keyword options...) xmin, xmax required minimum and maximum x values (in the objs' coordinates) ymin, ymax required minimum and maximum y values (in the objs' coordinates) obj optional list drawing primatives keyword options keyword list options defined below The following are keyword options, with their default values: x, y 20, 5 upper-left corner of the Frame in SVG coordinates width, height 75, 80 width and height of the Frame in SVG coordinates flipx, flipy False, True flip the sign of the coordinate axis minusInfinity -1000 if an axis is logarithmic and an object is plotted at 0 or a negative value, -1000 will be used as a stand-in for NaN xtitle None if a string, label the x axis xticks -10 request ticks according to the standard tick specification (see help(Ticks)) xminiticks True request miniticks according to the standard minitick specification xlabels True request tick labels according to the standard tick label specification xlogbase None if a number, the axis and transformation are logarithmic with ticks at the given base (10 being the most common) (same for y) text_attr {} a dictionary of attributes for label text axis_attr {} a dictionary of attributes for the axis lines
Definition at line 886 of file svgfig.py.
def svgfig.Frame.__repr__ | ( | self | ) |
Definition at line 883 of file svgfig.py.
References svgfig.Fig.d, svgfig.Plot.d, and svgfig.Frame.d.
def svgfig.Frame.SVG | ( | self | ) |
Apply the window transformation and return an SVG object.
Definition at line 955 of file svgfig.py.
svgfig.Frame.d |
Definition at line 918 of file svgfig.py.
Referenced by svgfig.Frame.__repr__(), svgfig.Path.__repr__(), svgfig.Poly.__repr__(), svgfig.Text.__repr__(), svgfig.TextGlobal.__repr__(), svgfig.Dots.__repr__(), svgfig.XErrorBars.__repr__(), svgfig.YErrorBars.__repr__(), svgfig.Poly.Path(), svgfig.Path.SVG(), svgfig.Text.SVG(), svgfig.TextGlobal.SVG(), svgfig.Dots.SVG(), svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
svgfig.Frame.height |
Definition at line 929 of file svgfig.py.
Referenced by Vispa.Main.MainWindow.MainWindow._saveIni(), Vispa.Gui.VispaWidget.VispaWidget.autosize(), Vispa.Gui.VispaWidget.VispaWidget.boundingRect(), Vispa.Gui.ConnectableWidget.ConnectableWidget.centerSinglePortVertically(), Vispa.Gui.VispaWidget.VispaWidget.contentRect(), Vispa.Gui.VispaWidget.VispaWidget.defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget.defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget.defineRoundRectBackgroundShape(), produceOfflineValidationTex.PageLayout.fit(), Vispa.Gui.VispaWidget.VispaWidget.imageRectF(), Vispa.Gui.VispaWidget.VispaWidget.paint(), Vispa.Gui.VispaWidget.VispaWidget.setZoom(), svgfig.Dots.SVG(), and Vispa.Main.MainWindow.MainWindow.updateStartupScreenGeometry().
svgfig.Frame.text_attr |
Definition at line 946 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
|
static |
Definition at line 873 of file svgfig.py.
Referenced by svgfig.CurveAxis.__init__().
svgfig.Frame.width |
Definition at line 928 of file svgfig.py.
Referenced by python.rootplot.utilities.Hist.__init_TGraph(), Vispa.Main.MainWindow.MainWindow._saveIni(), Vispa.Gui.VispaWidget.VispaWidget.autosize(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), Vispa.Gui.VispaWidget.VispaWidget.boundingRect(), Vispa.Gui.VispaWidget.VispaWidget.contentRect(), Vispa.Gui.VispaWidget.VispaWidget.defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget.defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget.defineRoundRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget.drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget.drawPortNames(), produceOfflineValidationTex.PageLayout.fit(), Vispa.Gui.VispaWidget.VispaWidget.imageRectF(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), Vispa.Views.PropertyView.PropertyView.resizeEvent(), Vispa.Views.PropertyView.PropertyView.sectionResized(), Vispa.Gui.VispaWidget.VispaWidget.setZoom(), svgfig.Dots.SVG(), and Vispa.Main.MainWindow.MainWindow.updateStartupScreenGeometry().
svgfig.Frame.x |
Definition at line 926 of file svgfig.py.
Referenced by python.rootplot.utilities.Hist.__init_TGraph(), svgfig.Curve.Sample.__repr__(), svgfig.Text.__repr__(), svgfig.TextGlobal.__repr__(), svgfig.VLine.__repr__(), svgfig.Ellipse.__repr__(), python.rootplot.root2matplotlib.Hist._prepare_xaxis(), python.rootplot.root2matplotlib.Hist._prepare_yaxis(), Vispa.Gui.WidgetContainer.WidgetContainer.autosize(), Vispa.Gui.VispaWidget.VispaWidget.boundingRect(), python.rootplot.root2matplotlib.Hist2D.box(), python.rootplot.root2matplotlib.Hist2D.contour(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), geometryXMLparser.Alignable.pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), svgfig.Text.SVG(), svgfig.TextGlobal.SVG(), and python.rootplot.utilities.Hist.TGraph().
svgfig.Frame.xlabels |
Definition at line 936 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.xlogbase |
Definition at line 938 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.xminiticks |
Definition at line 935 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.xticks |
Definition at line 934 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.y |
Definition at line 927 of file svgfig.py.
Referenced by python.rootplot.utilities.Hist.__getitem__(), python.rootplot.utilities.Hist.__init_TGraph(), python.rootplot.utilities.Hist.__iter__(), svgfig.Curve.Sample.__repr__(), svgfig.Text.__repr__(), svgfig.TextGlobal.__repr__(), svgfig.HLine.__repr__(), svgfig.Ellipse.__repr__(), python.rootplot.utilities.Hist.__setitem__(), Vispa.Gui.WidgetContainer.WidgetContainer.autosize(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), Vispa.Gui.VispaWidget.VispaWidget.boundingRect(), python.rootplot.root2matplotlib.Hist2D.box(), python.rootplot.root2matplotlib.Hist2D.contour(), python.rootplot.utilities.Hist.divide_wilson(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), python.rootplot.root2matplotlib.Hist.hist(), python.rootplot.utilities.Hist.min(), geometryXMLparser.Alignable.pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), python.rootplot.utilities.Hist.scale(), svgfig.Text.SVG(), svgfig.TextGlobal.SVG(), python.rootplot.utilities.Hist.TGraph(), and python.rootplot.utilities.Hist.TH1F().
svgfig.Frame.ylabels |
Definition at line 942 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.ylogbase |
Definition at line 944 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.ymax |
Definition at line 917 of file svgfig.py.
Referenced by svgfig.YAxis.__repr__(), svgfig.Axes.__repr__(), svgfig.VGrid.__repr__(), svgfig.Grid.__repr__(), and svgfig.Axes.SVG().
svgfig.Frame.yminiticks |
Definition at line 941 of file svgfig.py.
Referenced by svgfig.Axes.SVG().
svgfig.Frame.yticks |
Definition at line 940 of file svgfig.py.
Referenced by svgfig.Axes.SVG().