This project provides a custom projection for Matplotlib to create double-logarithmic plots of velocity vs. frequency, with additional-tilted axes for acceleration and displacement.
Features
Log-log plot for velocity vs. frequency.
Additional axes for acceleration and displacement.
Customizable grid lines.
Installation
To install this package, you can run:
pip install .
from the root of this repository.
Usage
Here is a simple example of how to use this projection:
import matplotlib.pyplot as plt
import numpy as np
import vibro_nomogram
def main():
fig, ax = plt.subplots(1, 1, subplot_kw=dict(projection='frequency_space'))
# plot some data
f = np.logspace(-1, 3, 100)
v = 100 * np.exp(-f/1000)
ax.plot(f, v, 'k-')
ax.grid(True, which='both')
ax.set_xlabel('Frequency (Hz)')
ax.set_ylabel('Velocity (mm/s)')
ax.set_xlim(0.1, 1000)
ax.set_ylim(1e-2, 1e3)
plt.show()
if __name__ == '__main__':
main()
Release files for vibro-nomogram 0.1.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 | |
|---|---|---|---|
| vibro_nomogram-0.1.0.tar.gz | 304.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vibro_nomogram-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 315.6 kB
Release files / vibro_nomogram-0.1.0.tar.gz
| Download URL | vibro_nomogram-0.1.0.tar.gz |
|---|---|
| Size | 304.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
739aec026491a7d8fd979048225b0a70edd22ea580c73a6d2baaa970d5b1d33f
|
|
BLAKE2b-256 checksum How to use checksums |
2a08e7eee8f5952bf44e3eddae1943b9e68d2cc667360ae98a1cf447d294fdef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / vibro_nomogram-0.1.0-py3-none-any.whl
| Download URL | vibro_nomogram-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a62c5670d014abc28af52c1ccad4380179325f7fce4af1bf95da0469c33b99e
|
|
BLAKE2b-256 checksum How to use checksums |
5c04d97683d1c3b58c8fb94f110c26cbe8831cc4543781c8158845a83ce682fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|