Debian Codegraph @

doc/features/items/overview.rst

raw
1 Overview
2 --------
3
4 The :ref:`items` module provides the classes for the plot items.
5 Plot items are the graphical objects that are displayed on a 2D plotting widget
6 like :py:class:`.BasePlot`.
7 Items may be created either by using the appropriate class constructor or by
8 using the :obj:`.builder.make` factory object.
9
10 .. seealso::
11
12 :ref:`builder`
13 Module providing the :obj:`.builder.make` factory object
14 which can be used to create plot items
15
16 :ref:`plot`
17 Module providing ready-to-use curve and image plotting widgets and
18 dialog boxes
19
20 Curves
21 ^^^^^^
22
23 The following curve items are available:
24
25 * :py:class:`.CurveItem`: a curve plot item
26 * :py:class:`.ErrorBarCurveItem`: a curve plot item with error bars
27
28 Images
29 ^^^^^^
30
31 The following image items are available:
32
33 * :py:class:`.ImageItem`: simple images
34 * :py:class:`.TrImageItem`: images supporting arbitrary
35 affine transform
36 * :py:class:`.XYImageItem`: images with non-linear X/Y axes
37 * :py:class:`.Histogram2DItem`: 2D histogram
38 * :py:class:`.ImageFilterItem`: rectangular filtering
39 area that may be resized and moved onto the processed image
40 * :py:func:`.assemble_imageitems`
41 * :py:func:`.get_plot_qrect`
42 * :py:func:`.get_image_from_plot`
43
44 Grid
45 ^^^^
46
47 A single grid item is available: :py:class:`.GridItem`.
48
49 Shapes
50 ^^^^^^
51
52 The following shape items are available:
53
54 * :py:class:`.PolygonShape`
55 * :py:class:`.RectangleShape`
56 * :py:class:`.ObliqueRectangleShape`
57 * :py:class:`.PointShape`
58 * :py:class:`.SegmentShape`
59 * :py:class:`.EllipseShape`
60 * :py:class:`.Axes`
61 * :py:class:`.XRangeSelection`
62 * :py:class:`.YRangeSelection`
63 * :py:class:`.Marker`
64 * :py:class:`.RectangleSVGShape`
65 * :py:class:`.SquareSVGShape`
66 * :py:class:`.CircleSVGShape`
67
68 Annotations
69 ^^^^^^^^^^^
70
71 The following annotation items are available:
72
73 * :py:class:`.AnnotatedPoint`
74 * :py:class:`.AnnotatedSegment`
75 * :py:class:`.AnnotatedXRange`
76 * :py:class:`.AnnotatedYRange`
77 * :py:class:`.AnnotatedRectangle`
78 * :py:class:`.AnnotatedObliqueRectangle`
79 * :py:class:`.AnnotatedEllipse`
80 * :py:class:`.AnnotatedCircle`
81 * :py:class:`.AnnotatedPolygon`
82
83 Labels
84 ^^^^^^
85
86 The following label items are available:
87
88 * :py:class:`.LabelItem`
89 * :py:class:`.LegendBoxItem`
90 * :py:class:`.SelectedLegendBoxItem`
91 * :py:class:`.XRangeComputation`
92 * :py:class:`.YRangeComputation`
93 * :py:class:`.RangeComputation2d`
94 * :py:class:`.DataInfoLabel`