Hello, 

this is the procedure I'm following: 

*Pkg.add("Graphs")*

*using Graphs*


*Pkg.add("GraphViz")*

*using GraphViz*


*g=simple_graph(3)*

*add_edge!(g,1,2)*

*add_edge!(g,3,2)*

*add_edge!(g,3,1)*


*plot(g)*


and this is the error I get: 


*julia> **plot(g)*

*ERROR: `to_dot` has no method matching 
to_dot(::GenericGraph{Int64,Edge{Int64},UnitRange{Int64},Array{Edge{Int64},1},Array{Array{Edge{Int64},1},1}},
 
::Pipe)*

* in plot at /Users/michela/.julia/v0.3/Graphs/src/dot.jl:86*


*julia> **Format: "x11" not recognized. Use one of: bmp canon cgimage cmap 
cmapx cmapx_np dot eps exr fig gif gv icns ico imap imap_np ismap jp2 jpe 
jpeg jpg pct pdf pic pict plain plain-ext png pov ps ps2 psd sgi svg svgz 
tga tif tiff tk vml vmlz xdot xdot1.2 xdot1.4*


does someone know what does it mean and how could I handle it? 

Thank you,


Michela

-- 
___________________________________________
INVESTI SUL FUTURO, FAI CRESCERE L’UNIVERSITÀ:

*DONA IL 5 PER MILLE ALLA SAPIENZA*

CODICE FISCALE *80209930587*

Reply via email to