Hans-Peter Vietze

2017-06-24 06:38:12 UTC

I tried to use one of the graphviz functions to visualize a graph, but

did not succeed. I tried the attempt of Michel Talon but got an error

message:

-->

Nachricht vom stdout von wxMaxima: Maxima 5.39.0_2_g5a49f11_dirty

http://maxima.sourceforge.net

using Lisp CLISP 2.49 (2010-07-07)

Distributed under the GNU Public License. See the file COPYING.

Dedicated to the memory of William Schelter.

The function bug_report() provides bug reporting information.

(%i1)

--> load(graphs);

0 errors, 0 warnings

0 errors, 0 warnings

(%o1)

"C:\maxima-5.39.0\share\maxima\5.39.0_2_g5a49f11_dirty\share\graphs\graphs.mac"

-->

g:create_graph(16,[[0,1],[1,3],[2,3],[0,2],[3,4],[2,4],[5,6],[6,4],[4,7],[6,7],[7,8],[7,10],[7,11],[8,10],[11,10],[8,9],[11,12],[9,15],[12,13],[10,14],[15,14],[13,14]]);

(g) GRAPH\(16 vertices, 22 edges\)

--> mi:max_independent_set(g);

(mi) [0,3,5,8,11,13,15]

--> draw_graph(g,redraw=true,program=dot);

first: empty argument.

#0: draw_graph(g=GRAPH\(16\ vertices\,\ 22\ edges\),options=[redraw

= true,program = dot])

(C:\maxima-5.39.0\share\maxima\5.39.0_2_g5a49f11_dirty\share\graphs\draw_graph.mac

line 166)

-- an error. To debug this try: debugmode(true);

Message from maxima's stderr stream: Der Befehl "dot" ist entweder

falsch geschrieben oder

konnte nicht gefunden werden.

first: empty argument.

#0: draw_graph(g=GRAPH\(16\ vertices\,\ 22\ edges\),options=[redraw

= true,program = dot])

(C:\maxima-5.39.0\share\maxima\5.39.0_2_g5a49f11_dirty\share\graphs\draw_graph.mac

line 166)

-- an error. To debug this try: debugmode(true);

I then added the path of the dot.exe in the file_search_maxima path

list, which did not help:

-->

append(file_search_maxima,["C:/Programme(x86)/Graphviz2.38/bin{exe}"]);

(%o27)

["C:/Users/Admin2/maxima/$$$.{mac,mc,wxm}","C:\maxima-5.39.0\bin\\../share/maxima/5.39.0_2_g5a49f11_dirty/share/$$$.{mac,mc,wxm}","C:\maxima-5.39.0\bin\\../share/maxima/5.39.0_2_g5a49f11_dirty/share/{affine,algebra,algebra/charsets,algebra/solver,amatrix,bernstein,calculus,cobyla,cobyla/ex,cobyla/lisp,colnew,colnew/ex1,colnew/ex2,colnew/ex3,colnew/ex4,colnew/lisp,combinatorics,contrib,contrib/Eulix,contrib/Grobner,contrib/Zeilberger,contrib/alt-display,contrib/altsimp,contrib/binsplit,contrib/bitwise,contrib/boolsimp,contrib/coma,contrib/diffequations,contrib/diffequations/tests,contrib/elliptic_curves,contrib/elliptic_curves/figures,contrib/format,contrib/fresnel,contrib/gentran,contrib/gentran/man,contrib/gentran/test,contrib/gf,contrib/integration,contrib/levin,contrib/lurkmathml,contrib/maxima-odesolve,contrib/maximaMathML,contrib/mcclim,contrib/namespaces,contrib/noninteractive,contrib/odes,contrib/operatingsystem,contrib/prim,contrib/rand,contrib/rkf45,contrib/sarag,contrib/smath,contrib/state,contrib/trigtools,contrib/unicodedata,contrib/unit,contrib/vector3d,descriptive,diff_form,diff_form/tests,diffequations,distrib,draw,dynamics,ezunits,finance,fourier_elim,fractals,graphs,hypergeometric,integequations,integer_sequence,integration,lapack,lapack/blas,lapack/lapack,lbfgs,linearalgebra,logic,lsquares,macro,matrix,minpack,minpack/lisp,misc,mnewton,multiadditive,numeric,numericalio,orthopoly,pdiff,physics,simplex,simplex/Tests,simplification,solve_rat_ineq,solve_rec,sound,stats,stringproc,sym,tensor,to_poly_solve,trigonometry,utils,vector,z_transform}/$$$.{mac,mc,wxm}","C:\maxima-5.39.0\bin\\../share/maxima/5.39.0_2_g5a49f11_dirty/$$$.{mac,mc,wxm}","C:/Programme(x86)/Graphviz2.38/bin{exe}"]

My Sytem configuration is:

Windows10

Maxima5.39.02

Can anybody help me?

Best regards

Hans-Peter

did not succeed. I tried the attempt of Michel Talon but got an error

message:

-->

Nachricht vom stdout von wxMaxima: Maxima 5.39.0_2_g5a49f11_dirty

http://maxima.sourceforge.net

using Lisp CLISP 2.49 (2010-07-07)

Distributed under the GNU Public License. See the file COPYING.

Dedicated to the memory of William Schelter.

The function bug_report() provides bug reporting information.

(%i1)

--> load(graphs);

0 errors, 0 warnings

0 errors, 0 warnings

(%o1)

"C:\maxima-5.39.0\share\maxima\5.39.0_2_g5a49f11_dirty\share\graphs\graphs.mac"

-->

g:create_graph(16,[[0,1],[1,3],[2,3],[0,2],[3,4],[2,4],[5,6],[6,4],[4,7],[6,7],[7,8],[7,10],[7,11],[8,10],[11,10],[8,9],[11,12],[9,15],[12,13],[10,14],[15,14],[13,14]]);

(g) GRAPH\(16 vertices, 22 edges\)

--> mi:max_independent_set(g);

(mi) [0,3,5,8,11,13,15]

--> draw_graph(g,redraw=true,program=dot);

first: empty argument.

#0: draw_graph(g=GRAPH\(16\ vertices\,\ 22\ edges\),options=[redraw

= true,program = dot])

(C:\maxima-5.39.0\share\maxima\5.39.0_2_g5a49f11_dirty\share\graphs\draw_graph.mac

line 166)

-- an error. To debug this try: debugmode(true);

Message from maxima's stderr stream: Der Befehl "dot" ist entweder

falsch geschrieben oder

konnte nicht gefunden werden.

first: empty argument.

#0: draw_graph(g=GRAPH\(16\ vertices\,\ 22\ edges\),options=[redraw

= true,program = dot])

(C:\maxima-5.39.0\share\maxima\5.39.0_2_g5a49f11_dirty\share\graphs\draw_graph.mac

line 166)

-- an error. To debug this try: debugmode(true);

I then added the path of the dot.exe in the file_search_maxima path

list, which did not help:

-->

append(file_search_maxima,["C:/Programme(x86)/Graphviz2.38/bin{exe}"]);

(%o27)

["C:/Users/Admin2/maxima/$$$.{mac,mc,wxm}","C:\maxima-5.39.0\bin\\../share/maxima/5.39.0_2_g5a49f11_dirty/share/$$$.{mac,mc,wxm}","C:\maxima-5.39.0\bin\\../share/maxima/5.39.0_2_g5a49f11_dirty/share/{affine,algebra,algebra/charsets,algebra/solver,amatrix,bernstein,calculus,cobyla,cobyla/ex,cobyla/lisp,colnew,colnew/ex1,colnew/ex2,colnew/ex3,colnew/ex4,colnew/lisp,combinatorics,contrib,contrib/Eulix,contrib/Grobner,contrib/Zeilberger,contrib/alt-display,contrib/altsimp,contrib/binsplit,contrib/bitwise,contrib/boolsimp,contrib/coma,contrib/diffequations,contrib/diffequations/tests,contrib/elliptic_curves,contrib/elliptic_curves/figures,contrib/format,contrib/fresnel,contrib/gentran,contrib/gentran/man,contrib/gentran/test,contrib/gf,contrib/integration,contrib/levin,contrib/lurkmathml,contrib/maxima-odesolve,contrib/maximaMathML,contrib/mcclim,contrib/namespaces,contrib/noninteractive,contrib/odes,contrib/operatingsystem,contrib/prim,contrib/rand,contrib/rkf45,contrib/sarag,contrib/smath,contrib/state,contrib/trigtools,contrib/unicodedata,contrib/unit,contrib/vector3d,descriptive,diff_form,diff_form/tests,diffequations,distrib,draw,dynamics,ezunits,finance,fourier_elim,fractals,graphs,hypergeometric,integequations,integer_sequence,integration,lapack,lapack/blas,lapack/lapack,lbfgs,linearalgebra,logic,lsquares,macro,matrix,minpack,minpack/lisp,misc,mnewton,multiadditive,numeric,numericalio,orthopoly,pdiff,physics,simplex,simplex/Tests,simplification,solve_rat_ineq,solve_rec,sound,stats,stringproc,sym,tensor,to_poly_solve,trigonometry,utils,vector,z_transform}/$$$.{mac,mc,wxm}","C:\maxima-5.39.0\bin\\../share/maxima/5.39.0_2_g5a49f11_dirty/$$$.{mac,mc,wxm}","C:/Programme(x86)/Graphviz2.38/bin{exe}"]

My Sytem configuration is:

Windows10

Maxima5.39.02

Can anybody help me?

Best regards

Hans-Peter

--

Mit freundlichen Grüßen

Dr.Hans-Peter Vietze

Mit freundlichen Grüßen

Dr.Hans-Peter Vietze