rgl

Working with a directed graph using RGL in Ruby

I've implemented a directed graph in Ruby using RGL, just having difficulty figuring out how to, for a given node, find only the nodes with incoming connections and the nodes with outgoing connections. Perhaps I'm missing something simple. ...

R: Is it possible to use RGL in x64 Windows?

Is it possible to use the R package 'RGL' in x64 Windows? RGL Website ...

How to build a Weighted Graph with Ruby's RGL or GRATR to perform Dijkstra's algorithm?

I would like to see an example of a Dijkastra search algorithm for a graph built using Ruby's RGL (http://rgl.rubyforge.org/) or GRATR (http://rubyforge.org/projects/gratr/). I know GRATR has Dijkastra support but I'm not really sure how to go about using it, any help would be appreciated. ...

R: Plotting a 3D surface from x, y, z

Hello imagine I have a 3 columns matrix x, y, z where z is a function of x and y. I know how to plot a "scatter plot" of these points with plot3d(x,y,z) But if I want a surface instead I must use other commands such as surface3d The problem is that it doesn't accept the same inputs as plot3d it seems to need a matrix with (nº elem...