1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-05 18:30:51 +00:00

Test Octave figure generation

This commit is contained in:
Carles Fernandez 2018-02-14 14:54:54 +01:00
parent 7d7cc02d88
commit ba09ff8aa8

View File

@ -173,7 +173,13 @@ run-experiment:
- tar xvfJ L2_signal_samples.tar.xz - tar xvfJ L2_signal_samples.tar.xz
- md5sum L2_signal_samples.dat > data.md5 - md5sum L2_signal_samples.dat > data.md5
- md5sum -c data.md5 - md5sum -c data.md5
- cd ..
# Execute the experiment
- echo " x = 0:0.01:3; hf = figure (\"visible\", \"off\"); plot (x, erf (x)); hold on; plot (x, x, \"r\"); axis ([0, 3, 0, 1]); text (0.65, 0.6175, ['$\displaystyle\leftarrow x = {2\over\sqrt{\pi}}' '\int_{0}^{x}e^{-t^2} dt = 0.6175$']); xlabel (\"x\"); ylabel (\"erf (x)\"); title (\"erf (x) with text annotation\"); print (hf, \"results.pdf\", \"-dpdflatexstandalone\"); " >> my_test_file.m
- octave my_test_file.m
- mkdir results
- cp results.pdf results/
artifacts: artifacts:
paths: paths:
- data/*.dat - results/*.pdf