Questions tagged [graphing]

A diagram that exhibits a relationship, between two sets of numbers as a set of points having coordinates determined by the relationship.

680 questions
0
votes
1 answer

In Python, how do I make it so only one item of the list is printed out?

This is using the Taylor series to find the value of the sine of an angle between -1 and +1, but what I'm trying to do is get the value of every degree, print it, go to the next degree, then print, etc... def Fac(n): r=1 for c in…
0
votes
2 answers

Software like graphjam

Is there any pre-build software that can build graphs and export as an image like graphjam.com does? (they have a flash application)
Nogogogo
0
votes
1 answer

Ziya Linking a Bar to a URL

I am working on a project that uses Ziya and updating to rails 3, however, I need to be able to make each bar on a column chart link to another URL. The problem is that I can't find any documentation on it. Does anybody know how to do this?
Travis Pessetto
  • 3,260
  • 4
  • 27
  • 55
0
votes
2 answers

How to graph functions in Java using only built-in packages?

I'm trying to figure out how to approach this assignment. We are to use only what is included in java.* and javax.* to graph a given function with constraints on x and y. An idea that I had is to find the value of the function at every x_n, such…
SamTheSammich
  • 245
  • 3
  • 10
-1
votes
1 answer

(R) Curve function: 'expr' did not evaluate to an object of length 'n'

I'm trying to graph a function (from user input) and some of its Taylor Series approximations in R. I'm having no trouble graphing the user's function, but have failed several times trying to graph its approximations. My latest attempt involved the…
manzler.h
  • 9
  • 1
-1
votes
1 answer

How to draw a tree diagram from a large dictionary

My dictionary is large basically some dictionary values intersect and I would like to represent that in form of a graph. My_dictionary = { A : {1 , 2, 4 }, B : {1,3}, C : {5} ..... etc} The desired outcome is a diagram that links the nodes A, B, C…
FalconX
  • 53
  • 7
-1
votes
1 answer

Python solving equation and graphing the results

I trying to solve Kepler's Equation using python with known 'x' and 'e' values, trying to find 'y'. The equation is x=y-(e*sin(y)). I need to step through an array of x, with a range of min=0 and max=pi, with 1000 steps, and a value of e=0.1, solve…
swill92
  • 3
  • 1
-1
votes
1 answer

Plotting multiple lines with a Nested Dictionary, and unknown variables to Line Graph

I was able to find somewhat of an answer to my question, but it was not as nested as my dictionary and so I am really unsure how to proceed as I am still very new to python. I currently have a nested dictionary like {'140.10': {'46': {'1':…
-1
votes
1 answer

How to get the value of the column in Plotly?

I created this graph below to show the revenue and expenses of a company using Plotly. What I want to do now is to find the net profit by subtracting the two values in each month and adding a scatter plot using this data. Entering my data into the…
-1
votes
1 answer

Python Code return blank graph. How can I correct this error?

Figure x = np.linspace(2010,2210,20) Tline, = plt.plot(x,T, label="No Taxation", linewidth=2) TtaxLine, = plt.plot(x,T_tax, label= "Ad Valorem", linestyle='--', linewidth=2) TunitLine,= plt.plot(x,T_unit, label="Per Unit Tax",…
-1
votes
2 answers

How to make an object out of another object

Basically I am trying to make an endPosition take the values from position and add to those x, y values. I am just struggling to figure out the right syntax to do so. Point position= new Point((int) (Math.random()*(max - min)), (int) (Math.random()…
-1
votes
1 answer

Plotting specific data from CSV using pandas

Country,World_Bank_Income_Level,Region,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995,1994,1993,1992,1991,1990,1989,1988,1987,1986,1985,1984,1983,1982,1981,1980 Afghanistan,WB_LI,EMR…
-1
votes
1 answer

How to graph a python frequency dictionary?

I am trying to graph a word frequency dict I have created, the dictionary structure is like: OrderedDict([('abc', 367), ('abc', 312), ('abc', 286), ('abc', 57)]) However when running in Jupyer Notebook with the code shown below it is coming out…
Murchie85
  • 815
  • 2
  • 12
  • 27
-1
votes
2 answers

Comparing mean values by group between several variables

I am trying to reproduce a graph from Stata in R. I have several variables and want to display their mean in each treatment group of which there are two. The Stata graph is as follows: This coefficient plot is not actually a plot of coefficients,…
JohnD
  • 121
  • 1
  • 9
-1
votes
2 answers

How can I pass user input in the form of a variable to a lambda function in python?

so I'm kind of new to programming and I was looking for some help. I'm making a graphing calculator and would like to have the user enter an equation using x such as (x + 3) or (x^2 + 3x + 4). I recently found out about the lambda function and was…
Matteo
  • 35
  • 10