For conversion of graphs in matlab to dot (AT & T) mode,
graph_to_dot(G, 'filename', '/tmp/my.dot')
The code is available at http://www.mathworks.com/matlabcentral/fileexchange/4518
Converting dot files to tex:
dot2tex --autosize -tmath ex1.dot > ex1.tex
Found this handy script for converting all .dot files in a directory to .ps; Very handy renaming in bash.
for f in *.dot do ; dot -Tps -o ${f%dot}ps $f ; done
No comments:
Post a Comment