pvplot
pvplot is a dynamic plotting application for control-system data. It supports EPICS Channel Access (CA), EPICS PVAccess (PVA), LiteServer data objects, and ADO parameters.
Installation
Create and activate a virtual environment, then install the package:
python -m venv .venv
source .venv/bin/activate
python -m pip install -e .
Run pvplot --help to display the command-line options.
Basic usage
python -m pvplot -a 'E:testAPD:scope1:' 'Waveform_RBV[1:500]'
python -m pvplot -aV:image:0: 'oneRowMean oneRowStd oneRowPeak2Peak'
python -m pvplot -aV:image:0: oneRow[90:120]
python -m pvplot -a 'L:localhost:dev1:' 'temp1 temp2'
Correlation plot — plot the parameter after the comma against the parameter before the comma:
python -m pvplot -a 'L:localhost;9710:dev1:' 'x,y'
Array data can be sliced using name[start:end], for example Waveform_RBV[1:500].
Namespaces
Add a namespace prefix to parameter names to select an access method:
E:— EPICS Channel AccessV:— EPICS PVAccessL:— LiteServer, for exampleL:localhost:dev1:A:— ADO
Command-line options
-a, --prefix— Prefix applied to parameter names.-c, --configDir— Directory containing a configuration module.-f, --file— Configuration module name.-l, --limit— Maximum number of points retained per dataset.-s, --sleepTime— Update interval in seconds.-v, --verbose— Show more debug messages; use-vvfor even more.-x, --xscale— LiteServer parameter providing dynamic X-axis scaling.-X, --xrange— Fixed X-axis range, for example-X 10:20.-y, --yscale— Parameter providing dynamic Y-axis scaling.-Y, --yrange— Fixed Y-axis range, for example-Y 1000:4095.-z, --zoomin— Scale the application window.-#, --dock— Assign parameters to named docks.
Configuration file
Use -c and -f to load a Python configuration module:
python -m pvplot -c config -f peakSimulator_pvp
The configuration module may define DOCKS, POINTS, TITLE, XLABEL, and YLABEL.
Plot controls
- Right-click a plot and select Datasets Options to enable/disable curves or change their color, width, and symbols.
- Use Mean, sigma to show dataset statistics.
- Use Y Projection to show a histogram of the visible Y range.
- Use UnZoom to restore the previous view range.
- Press
Ctrl+Hfor help,Ctrl+Mfor statistics,Ctrl+Sto stop/resume updates, orCtrl+Uto unzoom.
Examples
- Two docks with an array plot and a strip chart:
python -m pvplot -c /operations/app_store/pvplot -f peakSimulator_pvp
- Sliced EPICS Channel Access waveform:
python -m pvplot -s 0.01 -a 'E:testAPD:scope1:' 'Waveform_RBV[1:500]'
- EPICS PVAccess waveform for `python -m epicsdev.imagegen -r30:
python -m pvplot -aV:image:0: -#0'oneRow' -#1'oneRowMean oneRowStd oneRowPeak2Peak'
- LiteServer correlation plot:
python -m pvplot -s 0.01 -a 'L:localhost;9710:dev1:' 'x,y'
- LabJack U3-HV analog inputs served by LiteServer:
python -m pvplot -a 'L:localhost:dev1:' 'tempU3 ADC_HV[0] ADC_HV[1] ADC_HV[2] ADC_HV[3] ADC_LV'
Metadata
Release files for pvplot 1.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pvplot-1.7.0.tar.gz | 259.3 kB | Without provenance | Details for pvplot-1.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pvplot-1.7.0-py3-none-any.whl | Python 3 | none | any | Details for pvplot-1.7.0-py3-none-any.whl |
Total release size: 282.9 kB
Release files / pvplot-1.7.0.tar.gz
| Download URL | pvplot-1.7.0.tar.gz |
|---|---|
| Size | 259.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
637513638c6853df8ed863253eb7c3474f889d7ae661148e571db105fbce1b65
|
|
BLAKE2b-256 checksum How to use checksums |
405c8ef94b75ac9ae1f2d5611ccecdcb3c381ce27910f80629cebd536fed0ee8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pvplot-1.7.0-py3-none-any.whl
| Download URL | pvplot-1.7.0-py3-none-any.whl |
|---|---|
| Size | 23.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4899b8b36bde84635c76ee4a4615b55cce01b4c5a83c26faa6393f28bcb4e5b6
|
|
BLAKE2b-256 checksum How to use checksums |
40225e5023a96de79bacf69eddabe41b8589209a49f9b11ad1cfb9bf6a18eb29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pvplot 1.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.