Even after I fixed all the other bugs in wgPlotDemo, the last of the demos uses fruchterman_reingold_force_directed_layout, which was not included in wgPlotDemo. I downloaded that off of the mathBgl package, but that function refers to another function called fruchterman_reingold_mex which was not in that package! So now I'm not sure what to do. Any hints on where to find that function?
I cannot run the simple example, I get the following error:
Error using scatter (line 68)
S must be a scalar or a vector the same length as X.
Error in wgPlot (line 153)