I don't even know if I worded my question correctly, but here's what I have and here's what I'd like: I use an [attendance app](https://itunes.apple.com/us/app/attendance2/id536206472?mt=8) to track my basketball workout classes, and then I show the results on my site [here](http://www.50allstars.com/p/players.html). To achieve this, I send the csv provided by the app to my email, I click on the attachment to eventually add it to my FileZilla server, which then sends the info into a google doc that separates the data through a couple of sheets to provide an iFrame of the end result. I don't mind the steps, as …

Member Avatar
Member Avatar
+1 forum 5

Is there a way to develop a GUI which has graph data structure at the backend so that if we want to have information about a particular node or edge, we just tap its corresponding GUI representation and the app gives us the required info?

Member Avatar
Member Avatar
+0 forum 4

Hello, I am used Wordpress-seo plugin by Yoast. When i share [article](http://gititsolution.com/angularjs-development) on facebook not allow me to share feature image. also check in [facebook degub](https://developers.facebook.com/tools/debug/) but not given solution. also ![attach](/attachments/large/4/19c2d2575845be8c218402bed55c6612.png "align-center") screenshot Suggest me solution. Thanks.

Member Avatar
+0 forum 0

This is a homework problem; however I just want some direction. I have to write a module graph.cpp that implements djikstra's algorithm. so far i am at the reading in module and am trying to make an array of structures. here is the code. [code=c] // Zachary Dain // CSCI 3300 Assignment 3 // tab stops: every 2 spaces #include <iostream> #include <math.h> using namespace std; enum StatusType {Done, Pending, Peripheral}; struct ListCell { ListCell* next; int adjVertex; double weight; ListCell(int v, double wt, ListCell* n) { adjVertex = v; weight = wt; next = n; } }; struct arrayOfStructs …

Member Avatar
Member Avatar
+0 forum 9

Hello I was asked to show relations between data in a graph. For example object0 is related to object1 and object2 object1 is related to object 2 object2 is related to object0 and object1 object3 is related to object 1 then the graph will be as shown here [Click Here](http://postimg.org/image/ewn4i6prh/) I searched for that and found this [link](http://sachabarbs.wordpress.com/2010/08/31/pretty-cool-graphs-in-WPF/) which is the one I need but it is in 'WPF' or silverlight maybe which I don't know anything about it. I searched for a way to run the 'wpf' from the windows form project that I have but no good results. …

Member Avatar
Member Avatar
+0 forum 4

Hi, this program of mine can plot timestamp & irradiance but how can i plot another line of data for temperature? This is my txt data: TimeStamp,Irradiance,Temperature 21/7/2014 0:00,0.66,26.2 21/7/2014 0:00,0.71,23.4 21/7/2014 0:00,0.65,25.4 21/7/2014 0:00,0.67,25.3 21/7/2014 0:01,0.58,30.5 21/7/2014 0:01,0.54,26.7 21/7/2014 0:01,0.63,25.5 21/7/2014 0:01,0.65,26.9 21/7/2014 0:02,0.64,22.2 and this is a snippet of my code: from datetime import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates import numpy as np from scipy.stats import mode import re linematchregex = re.compile('(\d+/\d+/\d+ \d+:\d+),(\d+\.\d+)') startTime = datetime.strptime(raw_input('please enter start time in format like 21/7/2014 0:00 :'), '%d/%m/%Y %H:%M') endTime = datetime.strptime(raw_input('please enter end time in …

Member Avatar
Member Avatar
+0 forum 7

Hi, How can i find the maximum/minimum of a data every 24 hours. My Python delimited txt file has over 2 days worth of data This is a snippet of how my txt file data look like: TimeStamp,Irradiance,AMB_Temp 21/7/2014 0:00,5.6,25.6 21/7/2014 0:01,4.6,24.6 21/7/2014 0:02,5.6,22.6 21/7/2014 0:03,4.7,25.6 21/7/2014 0:04,5.3,24.6 21/7/2014 0:05,5.2,25.6 . . . 22/7/2014 23.59,5.6,24.5 i know how to display it over 2 days but within 24 hours period this is the code for displaying the max/min value over 2 days: long_title = 'Irradiance, AMB_Temp vs Time Graph at {} \n Max Value: {:.2f} at {} \n Min Value: {:.2f} …

Member Avatar
-1 forum 0

Hi, is there a simple way to convert the xls file to txt file to fit my program's code. import matplotlib.pyplot as plt x = [] y = [] t = [] fig = plt.figure() rect = fig.patch rect.set_facecolor('#31312e') **readFile = open('data.xls', 'r') sepFile = readFile.read().split('\n') readFile.close()** for idx, plotPair in enumerate(sepFile): if plotPair in '. ': # skip. or space continue if idx > 1: # to skip the first line xAndY = plotPair.split(',') time_string = xAndY[0] t.append(time_string) y.append(float(xAndY[1])) ax1 = fig.add_subplot(1, 1, 1, axisbg='blue') ax1.plot(t, y, 'c', linewidth=3.3) plt.title('IRRADIANCE') plt.xlabel('TIME') plt.show()

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I want to plot a line graph which pulls data from a webpage every minute and plot accordingly. Does anyone know a good place to look or reading material that might be worth looking into? please dont say google :P

Member Avatar
Member Avatar
+0 forum 1

Hi Guys, I'm using Python 2.7.3, How can I ask the user to enter "from datetime" & "to datetime" then plot the graph For eg. when user from datetime: 21/7/2014 0:00 to datetime: 22/7/2014 23:57 from datetime import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates x = [] y = [] t = [] fig = plt.figure() rect = fig.patch rect.set_facecolor('#31312e') readFile = open('data.txt', 'r') sepFile = readFile.read().split('\n') readFile.close() for idx, plotPair in enumerate(sepFile): if plotPair in '. ': # skip. or space continue if idx > 1: # to skip the first line xAndY = plotPair.split(',') time_string …

Member Avatar
Member Avatar
+0 forum 6

hi guys below is my attempted code, how can i plot date and time(x-axis) versus a value (y-axis) import matplotlib.pyplot as plt from datetime import time, datetime x = [] y = [] t = [] fig = plt.figure() rect = fig.patch rect.set_facecolor('#31312e') readFile = open('data.txt', 'r') sepFile = readFile.read().split('\n') readFile.close() for idx, plotPair in enumerate(sepFile): if idx > 1: # to skip the first line xAndY = plotPair.split(',') time_string = xAndY[0] datetime_obj = datetime.strptime(time_string, '%d/%m%Y %H:%M:%S') t.append(datetime_obj) y.append(float(xAndY[1])) ax1 = fig.add_subplot(1, 1, 1, axisbg='blue') ax1.plot(t, y, 'c', linewidth=3.3) plt.title('IRRADIANCE') plt.xlabel('TIME') plt.show() this is my txt file: TimeStamp,Irradiance 21/7/2014 0:00,0.66 …

Member Avatar
Member Avatar
+0 forum 6

Hi Friends, I have a graph in text file (origin, destin, link_id) such as 1 2 1 1 3 2 1 5 3 2 1 4 2 3 5 2 4 6 2 5 7 3 1 8 3 2 9 3 4 10 4 2 11 4 3 12 4 5 13 5 1 14 5 2 15 5 4 16 I declared, vector<int>pathway; multimap<int,vector<int>> allpathsmap; multimap<int,vector<int>>:: iterator itapm; typedef pair<int,vector<int>> pairapm; In addition I found all paths from a given Source to Destination. and I stored them in multimap 'allpathsmap' And I wrote the code to display them …

Member Avatar
Member Avatar
+0 forum 1

I am trying to develop the genetic algorithm to solve Traveling Saleman problem and part of my challenge is to generate random tours long enough and write a fitness function to evaluate the cost incurred for each of the random tour. I have attempted to write the following. My objective is to generate random tours from the city to city distance matrix without any repetitions in the tour. The random function should return a tour without any cities repeating twice. Please can any one help me with the logic for this problem: class ran { public static void ranper(int n, …

Member Avatar
Member Avatar
+0 forum 6

These programs are not perfect and very coarcenes but I think it understandable for who are new to learning Graph Theory. I will point directly each problem by using example code. Any questions or idea please post here. Thank you. Here are my programs, we will start with a basic problem: **1) Depth-first Search (DFS) without using marking array.** In this program, I used record "point" for demonstrate Adjacency List of the Graph. program DFS; const fi='DFS.ip'; fo='DFS.op'; ma=100; type point=record //each point mean a vertex of the Graph cn:array[1..ma] of byte; //connected vertices with "point" deg,def:byte; //deg: degree of …

Member Avatar
Member Avatar
+2 forum 1

Somebody can help me. I'm new in php and highcharts. I tried to populate my chart using mysql and php, but when I tried to run it, the chart didn't appear, only a blank web page. And there's no error appeared. Her's my codes (sorry for messy code): <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Highcharts Example</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script src="../../js/highcharts.js"></script> <script src="../../js/modules/exporting.js"></script> </head> <body> <?php include "config.php"; $SQL1 = "SELECT * FROM pos"; $result1 = mysql_query($SQL1); $data1 = array(); while ($row = mysql_fetch_array($result1)) { $data1[] = $row['name']; $data2[] = $row['Qty']; } ?> <script type="text/javascript"> $(function () { …

Member Avatar
Member Avatar
+0 forum 1

I currently have a program that can take a text file and inport the data that I need (names or locations as well as the distances between them) and I need to take that data and for a graph in boost so that I can do one of three things, use Dijkstra’s to find the shortest path between two nodes, use a minimum spanning tree to figure out the shortest way to connect every node, and how to visit every node only once on the shortest path. I import the data as follows: std::getline(fin, tempString); //Location1, Location2, ... std::stringstream tempSS(tempString); …

Member Avatar
+0 forum 0

How to correctly/standardly define schema for neo4j database in my C# application? In my application, I have nodes with properties and relations with properties. I want to define templates/Classes of these nodes and relations that can then be created and related at run time and retrieved as objects of a class with queries. After a lot of search and research, I found something that was nearly related to my question: http://blog.micic.ch/net/using-neo4j-graph-db-with-c-net But according to the Neo4j Documentation these are legacy methods. https://github.com/Readify/Neo4jClient/wiki So What is the Current standard way in Neo4J 2.0? As we also have labels now. I hope …

Member Avatar
Member Avatar
+0 forum 2

1. Please how can select Assigned Court so that the Assigned Judge and his Court Location should be auto selected...What I was able to do is just for Assigned court and Assigned Judge..Please I need help to capture the three. This can be found on the Second ICON after login...Add Entry 2. Under Add Control User (4th ICON)...I tried ading user profile picture but its showing error. Please assist 3. On the Report page (6th Icon), Status of cases per court should be included and a Report graph in bar chart should be displayed at the bottom of the page …

Member Avatar
Member Avatar
+0 forum 4

there are two combobox cm1 and cm2 when user select columns from database for x axis and y axis in cm1 and cm2 the graph show the data from those columns . Need your help that how to populate combos with column names and to show the graph of selected columns.

Member Avatar
Member Avatar
+0 forum 6

This is the code I made for my facebook application but it is not giving the result. This code generate friends name, id and gender and I simply want to display in my apps. Please help me in solving the problem? <section> <?php $friends = idx($facebook->api('/me?fields=friends.limit(10).fields(gender,name)'),'data', array('access token' =>$accessToken)); ?> <div class="list"> <h3>Your friends</h3> <ul class="things"> <?php foreach ($friends as $friend) { // Extract the pieces of info we need from the requests above $id = idx($friend, 'id'); $item = idx($friend, 'name'); $gender= idx($friend,'gender'); // This display's the object that the user liked as a link to // that object's …

Member Avatar
Member Avatar
+0 forum 3

Hello members.. I needed to implement dynamic graph solution in PhP and got this wonderful article which serves my purpose. [URL="http://www.kidslovepc.com/php-tutorial/php-dynamic-chart-plot.php"]http://www.kidslovepc.com/php-tutorial/php-dynamic-chart-plot.php[/URL] I played with it as they told me to but did not get any output from the samples :'( I tried the installation test and its showing that everything is proper. But when i download the package and run any eg in that it shows. I tried this bit of code here below [ICODE]<?php //Include the code include("phplot/phplot.php"); //Define the object $graph =& new PHPlot(200,150); //Define some data $example_data = array( array('a',3), array('b',5), array('c',7), array('d',8), array('e',2), array('f',6), array('g',7) ); …

Member Avatar
Member Avatar
+0 forum 5

Hi all, I've a problem fixing the syntax error. I'm doing a function, randomGraphGenerator(int n) that will generate non-negative weighted complete graph with n vertices. Could you help me out on this. Many thanks in advance... public class randomGraphGenerator { private final int n; private int E; Private Bag<Edge>[] adj; /* create an empty randomGraphGenerator with n vertices. */ public randomGraphGenerator (int n) { if (n < 0) throw new IllegalArgumentException("Number of vertices in a Graph must be nonnegative"); this.n = n; this.E = 0; adj = (Bag<Edge>[]) new Bag[n]; for (int n = 0; n < n; n++) { …

Member Avatar
Member Avatar
+0 forum 1

Hullo, I have hit a snag when I got to the point where I draw a bar graph. I want to have a bar graph based on the database records, but I have no idea on how to do it. I tried searching online, but to no avail. I only found a code that is static; the one below; <?php # ------- The graph values in the form of associative array $sql="SELECT * FROM marks WHERE school_id='14'"; $result=mysql_query($sql); $row = mysql_fetch_array($result); $subject = $row['subject_name']; $mark = $row['subject_score']; $values=array($subject => $mark); $img_width=450; $img_height=300; $margins=20; # ---- Find the size of graph …

Member Avatar
Member Avatar
+0 forum 6

I have developed a piece of software that creates an embedded graph database. I was wondering whether I can use a special feature to visualize it within my program without opening other tools. I am developing my software in JAVA using eclipse and windows builder. I have heard about some libraries like D3 or ZEST but I don't know how to use them. I really want something very easy to attach to a JPanel that shows the database stored in my neo4j folder(Something very simple). May you help me to figure out how to do it? Regards Gaetano

Member Avatar
+0 forum 0

Please help me to translate this code from c to c++ #include <stdio.h> #include <conio.h> void main() { int n,i,j,a[20][20],ok=1,grade=0,aux=0;ok=1; FILE *f=fopen("c:\graph.txt","r"); fscanf(f,"%d",&n); for(i=1;i<=n;i++) for(j=1;j<=n;j++) fscanf(f,"%d",&a[i][j]); fclose(f); for(i=1;i<=n;i++) if(a[1][i]==1) grade++; for(i=1;i<=n;i++) { for(j=1;j<=n;j++) if(a[i][j]==1) aux++; if(aux!=grade) ok=0; aux=0; } if(ok==0) printf("graph is not regular."); else printf("graph is regular."); getch(); clrscr(); }

Member Avatar
Member Avatar
+0 forum 5

Recently I've used zedgraph barchart to create a chart with 12 bars. I did want to put each bar on an x-axis scale and change the label name of that scale, but I did not success. Could you please show me the way the put my bars inside the scales?

Member Avatar
Member Avatar
+0 forum 6

I am new to VB and working on a homework assignment that I’ve seen posted in years past. The threads were aged a year or more so I’m starting a new discussion. I am writing a program that allows me to enter sales for 5 stores and display a bar graph of asterisks (*) in a list box. Each asterisk is to present $100 in sales. I'm 6 hours in and still having issues. Each store appears in the list box, but I am unable to get the correct number of asterisks to display. The same number of asterisk’s are …

Member Avatar
Member Avatar
+0 forum 8

Wednesday 6th June 2012 is [URL="http://www.worldipv6day.org/"]World IPv6 Launch Day[/URL] (no, seriously, it is) and, we have been continually reminded in a Chicken Little fashion, the IPv4 address space sky is falling. The fact that the media obsession with Internet addresses running out has been on-going for at least a decade now, fuelled no doubt by slow news days and headline space to fill, has led to something of a blasé attitude towards making the move over to IPv6. Indeed, you might be forgiven for thinking that the whole IPv6 thing had fallen by the wayside and become another Betamax technology. …

Member Avatar
Member Avatar
+0 forum 1

I am trying to create a graph from a 2d matrix of booleans. When the index [i][j] == 1, I need to create a link or edge from node[i] to node[j]. I am doing some thing wrong. I have created a class file with a struct node and some basic operations. I have realized a pointer of the struct in not the correct way to go about this. A node may have more than one edge to other nodes, and one pointer is not going to link them. Please help a struggling programming student. My code and output is listed …

Member Avatar
+0 forum 0

Does anyone know a good method of generating bar/pie/line graphs in ASP ? I cannot use any commercial third party tool. Also I can't use any OCX or flash components. My data is in Oracle which I am connecting using ADO. The graphs have to be generated dynamically from the database. Thanks

Member Avatar
Member Avatar
+0 forum 6

The End.