Debian Codegraph @

doc/features/plot/index.rst

raw
1 .. _plot:
2
3 Plot widgets
4 ============
5
6 A :mod:`plotpy`-based plotting widget may be constructed using one of the following
7 methods:
8
9 * *Interactive mode*: when manipulating and visualizing data in an interactive
10 Python or IPython interpreter, the :py:mod`.pyplot` module provide
11 the easiest way to plot curves, show images and more. Syntax is similar
12 to MATLAB's, thus very easy to learn and to use interactively.
13
14 * *Script mode*: when manipulating and visualizing data using a script, the
15 :py:mod`.pyplot` module is still a good choice as long as you don't
16 need to customize the figure graphical user interface (GUI) layout.
17 However, if you want to add other widgets to the GUI, like menus, buttons
18 and so on, you should rather use plotting widget classes instead of
19 the `pyplot` helper functions.
20
21 There are two kinds of plotting widgets defined in :mod:`plotpy`:
22
23 * low-level plotting widget: :py:class:`.plot.base.BasePlot`
24
25 * high-level plotting widgets (ready-to-use widgets with integrated tools
26 and panels): :py:class:`.plot.PlotWidget` and corresponding dialog box
27 :py:class:`.plot.PlotDialog` and window
28 :py:class:`.plot.PlotWindow`
29
30 Plot widgets with integrated plot manager:
31
32 .. image:: ../../images/plot_widgets.png
33
34 .. seealso::
35
36 :ref:`items`
37 Plot items: curves, images, markers, etc.
38
39 :ref:`plot`
40 Ready-to-use curve and image plotting widgets and dialog boxes
41
42 .. toctree::
43 :maxdepth: 2
44 :caption: Contents:
45
46 overview
47 examples
48 reference