Using the JGraphT library's EdgeProvider class

I've looked all 'round for a solution, but due to my not having much experience with Java's generic programming style, I'm a bit stumped on what words to even use to search this. I am trying to use the DOTImporter (http://jgrapht.org/javadoc/org/jgra...
more »

2017-06-20 01:06 (0) Answers

Facebook graph - empty variables

i want to get some info about facebook user on my page, but when i try to do it - it just returns empty strings, my code: $request = new FacebookRequest( $session, 'GET', '/me' ); $response = $request->execute(); // get response $graphObj...
more »

2017-06-16 20:06 (0) Answers

Visualizing R Function Dependencies

There are a lot of resources for people who want to visualize package dependencies, but I'm interested specifically in visualizing functions within a package and their dependencies on one another. There are tools like miniCRAN for graphing package de...
more »

2017-05-23 21:05 (1) Answers

How to make a graph using PHP from oracle

I want to create a graph that the data are from oracle by using php. I did not found example that use oracle as a database. Mostly are from mysql. The data is like this I have made this code but it's not working. its show like this data.php &...
more »

2017-05-19 06:05 (1) Answers

facebook graph api add like to post

i'm trying to like a post by its ID using facebook api javascript i use the following script FB.api( "/me/og.likes", "POST", { "object": 'https://graph.facebook.com/'+idPagePost }, function (respo...
more »

2017-05-10 19:05 (1) Answers

facebook sdk javascript graph api

I'm trying to create a Facebook web app using the SDK javascript login and logout to get all the logged in user informations and export them into a JSON file. Can anybody help me with the code ? Thanks. I already have the login and logout part of th...
more »

2017-05-04 17:05 (0) Answers

VBA code to apply only the last data label

I don't speak English very well, but I hope you can understand me. It's about a VBA code for plotting graphs. I am trying to automate my sheets and I found a simple and easy code in the internet to do so. After updating the series, my intention is...
more »

2017-05-03 19:05 (1) Answers

R: using dates in bar graph with ggplot2

I would like to create a bar plot that displays the number of Date entries for a certain date in the y axis of a bar graph and the date on the x axis of a graph. At the same time, I would like to split the bar into a Yes and No section. Date,Hungry ...
more »

2017-04-21 22:04 (1) Answers

R visNetwork: Multiple graph layout?

I would like to position two visNetwork plots side-by-side for visual comparison. Multi-plot positioning is possible using igraph with par() or layout(). Is there a way to do this for visNetwork? Work-arounds/kludges (including RShiny, etc.) are acce...
more »

2017-04-20 14:04 (2) Answers

Python: Temporary attibutes

I am implementing a graph ADT in Python and I would like to implement a few functions which search the graph. One of these is bfs(G,v), which performs a breadth-first search and then returns a path (list of nodes) from the starting vertex v to a pred...
more »

2017-04-10 15:04 (0) Answers

Python: splitting trajectories into steps

I have trajectories created from moves between clusters such as these: user_id,trajectory 11011,[[[86], [110], [110]] 2139671,[[89], [125]] 3945641,[[36], [73], [110], [110]] 10024312,[[123], [27], [97], [97], [97], [110]] 14270422,[[0], [110], [174...
more »

2017-04-09 05:04 (3) Answers

Plotting a 3d surface of a function

I'm learning Matlab as I am moving from software development into Artificial Intelligence. I have been learning the M language and I'm currently hitting a bit of a roadblock. I am trying to generate a 3d surface of the Rastrigin function. **rastm....
more »

2017-03-30 10:03 (1) Answers

MySQL query to extract email neighborhood

I have a MySQL table called personxmessage, extracted from emails. It has three fields, id (primary key), MessageID, and PersonID. For each message referenced by MessageID, there are two or more records, each with a PersonID for a person who was in...
more »

2017-03-29 19:03 (1) Answers

Haskell data type for hmatrix Vector and Matrix

I am just starting out with Haskell, I have read up to the defining data types section of LYAH and am attempting to implement the Sum-Product algorithm for Belief Propagation. One of the rudimentary tasks is to define the Probabilistic Graphical Mode...
more »

2017-03-25 15:03 (1) Answers

Facebook Bot in closed beta

I want to give a small group of people automatically access to my Facebook Chat Bot, because I want to launch a beta for this. After adding them to app via API they get a notification, but can only access if they are a Facebook Developer. That is no...
more »

2017-02-28 09:02 (1) Answers

Java: setting a bool for all instances of a class

I searched some times but didn't get a clue. I'm trying to set up a directed graph. Each node (instance of the class Node) should hold a bool visited to see if it was visited by a search function. After the search is completed i want to reset the b...
more »

2017-02-27 00:02 (1) Answers

Saving plots in a data.table list column

When I run... library(data.table) DT = CJ(id = 1, id2 = 1:3)[, .( d = as.IDate("2017-01-01")+1:10, v = id*10 + id2*1:10 ), by=.(id, id2)] plotDT = DT[, { par(mfrow = c(uniqueN(id2), 1), mar = c(2,2,.5,2)) .SD[,{ plot(d, v, type...
more »

2017-02-24 23:02 (0) Answers

Displaying line graph using data frame grouping

I am learning data frames and trying out different graphs. I have a data set of video games and am trying to plot a graph which shows years on x axis, net sales on y axis and the graph has to be per video game genre. I have grouped the data but am fa...
more »

2017-02-20 23:02 (1) Answers

R - Grouped Bar Plot Ordering Within Groups

Here is some R code and the graph it produces: library(ggplot2) year <- c("1950", "1950", "1960", "1960", "1970", "1970") weight <- c(15, 10, 20, 25, 18, 20) name <- c("obj1", "obj2", "obj3", "obj4", "obj5", "obj1") object.data <- data.f...
more »

2017-02-14 03:02 (1) Answers

excell vba does not show x axis labels

I have a sub that creates an xlXYScatterLines graph and populates it. Set pippo = cht.Chart.SeriesCollection.NewSeries pippo.Values = _ Worksheets(questoFoglio).Range(...) pippo.Name = _ Worksheets(questoFoglio).Range(...) pippo.XValues = _ Works...
more »

2017-02-03 18:02 (0) Answers

OrientDB Graph Calendar Query

I'm trying to create a graph based calendar. I got so far as selecting an exact date to pull vertexes and it works very fast. However, I'm breaking my head on how to perform the date range selection especially when the start and the end dates fall on...
more »

2017-01-29 18:01 (0) Answers