about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_octave
blob: 88601baf6666f4f57d6ff4f419bdc9ddf4ce06e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/octave -qf
pcd=[fileparts(mfilename("fullpath")) "/path_cd.m"];source(pcd)
arg_list = argv(); 
runBN_initial(arg_list{1});
createSVG(arg_list{1});
createJSON(arg_list{1});
output = strcat(arg_list{1},"network.svg");
command = cstrcat("/usr/bin/dot -Tsvg -o",output," ",arg_list{1},"graphviz_svg.txt > ",output);
system(command);
output2 = strcat(arg_list{1},"network_no_edge.svg");
command2 = cstrcat("/usr/bin/dot -Tsvg -o",output2," ",arg_list{1},"graphviz_svg_no_edge.txt > ",output2);
system(command2);
command= cstrcat("/home/jziebart/python/Python-2.7.15/python ",base_dir,"/violin_plotly.py ",arg_list{1});
test=system(command);