Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/singond/octave-report
A set of tools to facilitate exporting data from Octave to other formats, like CSV, Gnuplot or LaTeX.
https://github.com/singond/octave-report
octave
Last synced: 10 days ago
JSON representation
A set of tools to facilitate exporting data from Octave to other formats, like CSV, Gnuplot or LaTeX.
- Host: GitHub
- URL: https://github.com/singond/octave-report
- Owner: Singond
- License: other
- Created: 2019-03-31T12:12:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T18:44:57.000Z (7 months ago)
- Last Synced: 2024-11-06T20:42:11.341Z (about 2 months ago)
- Topics: octave
- Language: MATLAB
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
README
Reporting tools for Octave
==========================A set of tools to facilitate exporting data from Octave to other formats.
Installation
============Manual installation from source
-------------------------------
Before proceeding, make sure that `make` is installed. Then follow these steps:1. Download the project source
2. Enter the root directory of the project
3. Run `make install````sh
git clone https://github.com/Singond/Octave-report.git
cd Octave-report/
make install
```If the `octave` command is not available in your path, `make install`
will fail. In this case, you can run `make dist` and install the package
manually from the zip-file in `build/` directory:```sh
make dist
cd build
octave
octave> pkg install "report-.tar.gz";
octave> exit
```From pre-built package
-------------------------------Pre-built packages for Octave are available at the
[releases page](https://github.com/Singond/Octave-report/releases).
You can use this method to install the package without downloading the whole
repository:1. From the `Assets` section in the desired version, find the file
`report-*.tar.gz` (here `*` is the version number).
2. Copy the URL of the file.
3. In your Octave prompt, run `pkg install ''` where ``
is the URL of the file.Usage
=====In Octave, load `report` as any other package:
```
octave> pkg load report;
```Examples
========Controlling `gnuplot` from within `octave`.
-------------------------------------------The following is a minimal example. This will plot the function `sinc(x)`
in the default terminal:```octave
gp = gnuplotter();
x = 1:0.1:10;
y = sin(x) ./ x;
gp.plot([x; y]', "with lines"); # Queue sinc(x) for plotting
gp.doplot(); # Draw the defined plot in the default terminal
gp.deletex(); # Close to release system resources
```