Am 7 Apr 2007 um 9:38 hat Andrej Vodopivec geschrieben:
> I have updated the graphs package. It is now at
>
> http://wxmaxima.sourceforge.net/graphs/
Hi Andrej,
what am I doing wrong? I tried some examples from your documentation, e.g.
on wxMaxima (ascii-mode, 5.11.99rc1):
(%i1) load("graphs/graphs");
Loading graph theory package 'graphs', version 1.0.
(%o1)
C:/Programme/Maxima-5.11.99rc1/share/maxima/5.11.99rc1/share/graphs/graphs.mac
(%i2) g:graph_product( cycle_graph(5), path_graph(4) );
(%o2) GRAPH
(%i3) draw_graph( g );
(%o3) wxdraw2d(points_joined = false, .....
wxdraw2d seems to be unknown
on xMaxima:
(%i1) load("graphs/graphs");
Loading graph theory package 'graphs', version 1.0.
(%o1)
C:/Programme/Maxima-5.11.99rc1/share/maxima/5.11.99rc1/share/graphs/graphs.mac
(%i2) g:graph_product( cycle_graph(5), path_graph(4) );
(%o2) GRAPH
(%i3) draw_graph( g );
When the argument is empty, the optional argument must be defined
#0: draw_graph(g=?GRAPH,options=[])(draw_graph.mac line 141)
-- an error. To debug this try debugmode(true);
Volker