An extension of dqrobotics to use matplotlib.pyplot to plot DQ elements.
Project description
pyplot extensions to dqrobotics
License
LGPL
Installation
python3 -m pip install dqrobotics-pyplot
Calling example
After installation, the example script can be called with
dqrobotisc_pyplot_example
Usage example
See the script in
src/dqrobotics_extensions/pyplot/example.py
Importing the library
Seting up the plot
dqrobotics-pyplot uses matplotlib.pyplot, so always remember to create a proper figure and axes with projection='3d''. Other settings
are a matter of taste and desired quality.
Drawing a pose
Calling dqp.plot() without additional settings with a DQ argument will result in a reference-frame-type plot.
Drawing a line
Call dqp.plot() with line=True to plot a line.
Drawing a plane
Call dqp.plot() with plane=True to plot a plane.
Drawing a manipulator
Call dqp.plot() with a DQ_SerialManipulator as argument and always remember to set the q argument, which should be a suitable np.array.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dqrobotics_pyplot-25.4.0.16.tar.gz.
File metadata
- Download URL: dqrobotics_pyplot-25.4.0.16.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a79f9271f93954aec93ca4779030029cfedf625b6414211456fc21df2b682acb
|
|
| MD5 |
f1b9ab6ae38961523989fa2093f28e0c
|
|
| BLAKE2b-256 |
ecc3e594d65535fdbbc89a8d4afe5c09cb4b59b6235c786635ab8c98a52e97de
|
Provenance
The following attestation bundles were made for dqrobotics_pyplot-25.4.0.16.tar.gz:
Publisher:
python-publish.yml on MarinhoLab/dqrobotics-pyplot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dqrobotics_pyplot-25.4.0.16.tar.gz -
Subject digest:
a79f9271f93954aec93ca4779030029cfedf625b6414211456fc21df2b682acb - Sigstore transparency entry: 196742798
- Sigstore integration time:
-
Permalink:
MarinhoLab/dqrobotics-pyplot@cbd1030b427b48744d64f1832bb339faa111b348 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MarinhoLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cbd1030b427b48744d64f1832bb339faa111b348 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dqrobotics_pyplot-25.4.0.16-py3-none-any.whl.
File metadata
- Download URL: dqrobotics_pyplot-25.4.0.16-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bfb633d70074592e01f9e28420bfed49f041e1f621dc2813e785cd128bd74b0
|
|
| MD5 |
23acd45609f2be3282b0691d80301dea
|
|
| BLAKE2b-256 |
8ac2d78dc7eedea8632776446f2ffcd53e2cb0a4894d592bff510cbc6d680aa6
|
Provenance
The following attestation bundles were made for dqrobotics_pyplot-25.4.0.16-py3-none-any.whl:
Publisher:
python-publish.yml on MarinhoLab/dqrobotics-pyplot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dqrobotics_pyplot-25.4.0.16-py3-none-any.whl -
Subject digest:
3bfb633d70074592e01f9e28420bfed49f041e1f621dc2813e785cd128bd74b0 - Sigstore transparency entry: 196742808
- Sigstore integration time:
-
Permalink:
MarinhoLab/dqrobotics-pyplot@cbd1030b427b48744d64f1832bb339faa111b348 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MarinhoLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cbd1030b427b48744d64f1832bb339faa111b348 -
Trigger Event:
push
-
Statement type: