mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Produce publishing-quality figure
This commit is contained in:
parent
8c71d2150f
commit
136f3d22c2
@ -165,7 +165,7 @@ docker-access18:
|
|||||||
# Stage "experiment"
|
# Stage "experiment"
|
||||||
run-access18:
|
run-access18:
|
||||||
image: carlesfernandez/docker-gnsssdr:access18
|
image: carlesfernandez/docker-gnsssdr:access18
|
||||||
stage: experiment
|
stage: build
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
# Grab analysis and representation tools
|
# Grab analysis and representation tools
|
||||||
@ -179,7 +179,7 @@ run-access18:
|
|||||||
- md5sum -c data.md5
|
- md5sum -c data.md5
|
||||||
- cd ..
|
- cd ..
|
||||||
# Execute the experiment (example)
|
# Execute the experiment (example)
|
||||||
- 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, ['$ \leftarrow x = \frac{2}{\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.eps\", \"-depsc\"); " > my_test_file.m
|
- 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, ['$ \leftarrow x = \frac{2}{\sqrt{\pi}} \int_{0}^{x}e^{-t^2} dt = 0.6175 $']); xlabel (\"x\"); ylabel (\"erf (x)\"); title (\"erf (x) with text annotation\"); hh=findall(hf,\"-property\",\"FontName\"); set(hh,\"FontName\",\"Times\"); hh2=findall(hf,\"-property\",\"interpreter\"); set(hh2, \"interpreter\", \"tex\"); hh3=findall(hf,\"-property\",\"FontSize\"); set(hh3, \"FontSize\", 22); print (hf, \"results.eps\", \"-depsc\"); " > my_test_file.m
|
||||||
- octave --no-gui my_test_file.m
|
- octave --no-gui my_test_file.m
|
||||||
- epspdf results.eps results.pdf
|
- epspdf results.eps results.pdf
|
||||||
- mkdir access18
|
- mkdir access18
|
||||||
|
Loading…
Reference in New Issue
Block a user