Pre-ci test passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
|
||
STEP 1:
|
||
install octave package
|
||
|
||
STEP 2:
|
||
It is possible to make OTGplot an executable Octave program by exploiting the ‘#!’ script mechanism.
|
||
Follow these steps:
|
||
1. make OTGplot an executable file (chmod +x OTGplot)
|
||
2. locate your Octave interpreter (which octave)
|
||
3. write such location in the first line of OTGplot (e.g. #! /usr/bin/octave -qf )
|
||
|
||
Then, you can directly execute OTGplot instead of passing it as argument to octave (e.g. ./OTGplot bitrate.dat 1:4).
|
||
If you want to set a title for the plot, you can use the env command: env TITLE="title" OTGplot otg_latency.dat "[1 2]"
|
||
|
||
|
||
|
||
STEP 2:
|
||
Add OTGplot_path to a user's PATH variable
|
||
|
||
PATH=$PATH:/OTGplot_path
|
||
export PATH
|
||
|
||
|
||
NB: Before doing simulation you should delete the following files in the case where they already exist:
|
||
rm otg_latency.dat otg.log otg_GP.dat
|
||
|
||
EXAMPLE :
|
||
|
||
# env TITLE="GoodPut (Kbis)" OTGplot otg_GP.dat [1:3]
|
||
# env TITLE="Radio Access Delay (ms)" OTGplot otg_latency.dat [1:3]
|
||
# env TITLE="One Way Delay (ms)" OTGplot otg_latency.dat [1:3]
|
||
|
||
|