2022-01-12 13:39:23 +00:00
# ![icon](https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/logplotter.svg) LogarithmPlotter
2021-10-01 15:35:50 +00:00
[![Build Status ](https://ci.ad5001.eu/api/badges/Ad5001/LogarithmPlotter/status.svg )](https://ci.ad5001.eu/Ad5001/LogarithmPlotter)
2022-01-21 11:06:25 +00:00
[![Translation status ](https://hosted.weblate.org/widgets/logarithmplotter/-/logarithmplotter/svg-badge.svg )](https://hosted.weblate.org/engage/logarithmplotter/)
2022-01-20 11:10:11 +00:00
[![On flathub ](https://img.shields.io/flathub/v/eu.ad5001.LogarithmPlotter?label=on%20flathub&logo=Flathub&logoColor=white&color=4A86CF )](https://flathub.org/apps/details/eu.ad5001.LogarithmPlotter)
2022-01-21 10:49:34 +00:00
[![On Snapcraft ](https://badgen.net/snapcraft/v/logarithmplotter?label=on%20snapstore&color=82BEA0&icon=https://ad5001.eu/icons/skills/snapcraft.svg )](https://snapcraft.io/logarithmplotter)
2021-06-02 17:14:42 +00:00
2022-01-21 11:06:25 +00:00
2D plotter software to make Bode plots, sequences and distribution functions.
2022-01-25 17:43:47 +00:00
## Screenshots
![Magnitude example ](https://apps.ad5001.eu/img/full/logarithmplotter.png )
![Phase example ](https://apps.ad5001.eu/img/en/logarithmplotter/phase.png )
2022-01-26 07:39:46 +00:00
![Object settings ](https://apps.ad5001.eu/img/en/logarithmplotter/object-settings.webp )
2022-01-25 17:43:47 +00:00
You can find more screenshots on the [app website ](https://apps.ad5001.eu/logarithmplotter/ ).
2021-06-22 16:39:03 +00:00
## Run
You can simply run LogarithmPlotter using `python3 run.py` .
2022-01-21 11:06:25 +00:00
In order to test translations, you can use the `--lang=<lang code>` command line option to force the detected locale of LogarithmPlotter.
2021-06-02 17:14:42 +00:00
## Install
2021-06-22 16:39:03 +00:00
### Generate installers:
2022-01-26 18:48:46 +00:00
All scripts noted here can be found in the `scripts` directory.
You can generate installers from LogarithmPlotter after installing all the dependencies:
2023-05-23 10:42:43 +00:00
For all builds, you need [Python 3 ](https://python.org ) with [PySide6 ](https://pypi.org/project/PySide6/ ) installable with `pip install PySide6` .
2021-06-02 17:14:42 +00:00
- Windows installer:
- You need `pyinstaller` . You can install it using `pip install pyinstaller` .
2021-06-22 16:39:03 +00:00
- Run the `build-windows.bat` script (or `build-wine.sh` if you're cross-compiling with wine on Linux) to build an exe for LogarithmPlotter.
2021-07-11 14:18:01 +00:00
- You also need [NSIS ](https://nsis.sourceforge.io/Main_Page ) (Linux users can install the [nsis ](https://pkgs.org/download/nsis ) package).
2022-01-26 18:48:46 +00:00
- Run the `package-windows.bat` script (or `package-wine.sh` if you're cross-compiling on Linux). You will find a logarithmplotter-setup.exe installer in the dist/accountfree/ folder.
2021-06-22 16:39:03 +00:00
- MacOS Archive creator installer:
- You need `pyinstaller` . You can install it using `pip install pyinstaller` .
2022-01-26 18:48:46 +00:00
- Run the `build-macosx.sh` script to build an .app for LogarithmPlotter which can be found in the dist directory.
2021-08-14 14:13:14 +00:00
- Run the `package-macosx.sh` script. You will find a LogarithmPlotter-v0.1-dev-setup.dmg installer in the dist/ folder.
2021-06-22 16:39:03 +00:00
- Linux packages:
- To build a DEB, you need DPKG and stdeb. You can install the later by using `pip install stdeb` .
2021-08-02 18:01:32 +00:00
- To build and install the flatpak, you need [flatpak-builder ](https://docs.flatpak.org/en/latest/flatpak-builder.html ) installed.
- To build the snap, you need [snapcraft ](https://snapcraft.io ) installed.
2021-06-22 16:39:03 +00:00
- Run `package-linux.sh` .
2021-06-02 17:14:42 +00:00
### Linux
Run `bash linux/install_local.sh`
2022-01-21 11:06:25 +00:00
## Contribute
There are several ways to contribute to LogarithmPlotter.
- You can help to translate [the project on Hosted Weblate ](https://hosted.weblate.org/engage/logarithmplotter/ ):
[![Translation status ](https://hosted.weblate.org/widgets/logarithmplotter/-/logarithmplotter/multi-auto.svg )](https://hosted.weblate.org/engage/logarithmplotter/)
- You can help the development of LogarithmPlotter. In order to get started, take a look at the [wiki ](https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_pages ).
2021-06-02 17:14:42 +00:00
## Legal notice
2022-01-21 11:06:25 +00:00
LogarithmPlotter - 2D plotter software to make BODE plots, sequences and repartition functions.
2023-05-21 22:19:58 +00:00
Copyright (C) 2023 Ad5001 < mail @ ad5001 . eu >
2021-06-02 17:14:42 +00:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see < https: / / www . gnu . org / licenses / > .
2022-01-24 17:27:16 +00:00
Language files translations located at LogarithmPlotter/i18n are licensed under GNU GPL3.0+ and are copyrighted by their original authors. See LICENSE.md for more details:
2022-01-26 07:39:46 +00:00
- 🇳🇴 Norwegian translation by [Allan Nordhøy ](https://github.com/comradekingu )
- 🇭🇺 Hungarian translation by [Óvári ](https://github.com/ovari )
2022-04-02 16:17:09 +00:00
### Libraries used
LogarithmPlotter includes [expr-eval ](https://github.com/silentmatt/expr-eval ) a port of [ndef.parser ](https://web.archive.org/web/20111023001618/http://www.undefined.ch/mparser/index.html ) by Raphael Graf < r@undefined.ch> , ported to javascript by Matthew Crumley < email@matthewcrumley.com> (http://silentmatt.com/), and then to QMLJS by Ad5001.
The code is licensed under the [MIT License ](https://raw.githubusercontent.com/silentmatt/expr-eval/master/LICENSE.txt ).