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
-1
votes
1 answer

Removing old, overlaid circles (crater) from density diagram

I'm writing a code to create a diagram of crater density. Essentially, every new crater is plotted as a circle, and circles are allowed to overlay each other (because new craters can erase old ones). I was wondering if there's any way to remove…
Laura
  • 1
-1
votes
1 answer

How to run externally

I have plotted a graph from a CSV file using SPYDER from PYTHON Here is my code import pandas as pd import numpy as np import matplotlib.pyplot as plt df = pd.read_csv('GM_NB_Replica_Test.csv', skiprows=8) data =…
EBELL
  • 51
  • 8
-1
votes
1 answer

Type error, and then ValueError: x and y must have same first dimension

So I had this: def graph_data(dateList, countList, name): xarray = [0,1,2,3,4,5,6] xarray = np.asarray(xarray) myticks = dateList plt.figure(figsize=(9,5)) plt.xticks(xarray, myticks) plt.plot(xarray, countList, color='r',…
VikingIwan
  • 15
  • 1
  • 4
-1
votes
1 answer

Random Quiz Generator

I'm having issues with my code, i don't know how to get a random sample of the questions. This is the code and it keeps giving me a Key Error. Im trying to print a random question from the list of questions but its telling me that questions is a…
-1
votes
1 answer

Creating legend in R when using ggplot(), geom_smooth

I have created a plot of smooth lined curves of some data along with the corresponding data points with the following code in rstudio: #begin code library(ggplot2) ggplot(mydata, aes(x,y)) + geom_point() + geom_smooth() p <- ggplot() + # blue…
-1
votes
1 answer

Considering Highest Peak Curve From Two Sets of Data Points

I have two columns which would correspond to x and y-axis in which I will be eventually graphing that sets of data points to a curve like graph. The problem is that based on the nature of the datapoints, when graphing it, I end up having two peaks…
aBiologist
  • 2,007
  • 2
  • 14
  • 21
-1
votes
3 answers

Python graphing from csv

I have extracted 6 months of email metadata and saved it as a csv file. The csv now only contains two columns (from and to email addresses). I want to build a graph where the vertices are those with whom I am communicating and whom communicated with…
TylerC
  • 19
  • 4
-1
votes
1 answer

I've printed temperature values in one column in a file but want to graph temperature by row

I want the x-axis to be what row the temperature value is in and the y-axis to be the actual value. How do I do this? I printed values to a file into one column.
-1
votes
2 answers

Plotting an equation from string form - MATLAB

I have an expression like this: x = [40 50]; expression = -2.254443e-02*x^4 + 1.797023e+02*x^3 + -5.364190e+05*x^2 + 7.107614e+08*x + -3.527500e+11; Now how do I plot this? plot(x, expression) Causes errors.
-1
votes
1 answer

Need help in graphing on Mathematica 10

What do I type in if I want to graph tan (x^y) = tan (y^x)? I've tried Plot[Tan x^y = Tan y^x, {y, x, 0, 5}] and several other things and it does not work.
-1
votes
1 answer

How to read in data into d3.js from multiple javascript arrays? And dynamically updating chart without refreshing the page

Currently I have two arrays, one is a list of numbers titled nums, and the ms is a list of strings titled places. Ex. nums=[1,2,3,4,5] places = ["house","gym", "work", "school", "park"] both arrays are the same length. I want to make a bar chart…
user3014093
  • 389
  • 2
  • 5
  • 20
-1
votes
2 answers

Highcharts Library not working

I currently tried to just implement the example from highcharts just to get a feel for it and play around, but it doesn't seem to be working. I tried loading their standalone framework, different versions of jQuery, but the chart will not render.…
Jake Ols
  • 2,792
  • 3
  • 18
  • 29
-1
votes
2 answers

Python graphing issue 2

Ok heres round 2 thank guys for help with the previous problem, but I am back to where I started unfortunately. All this happened when I tried to add a line to this graph. The incoming data is a list coming from another program. For testing purposes…
-1
votes
2 answers

Program a graphing function using the Android SDK for eclipse?

I'm new to the Android SDK, but am pretty well versed in Java. I need to create a graphing function for a class, but I'm not entirely sure how to do it without using swing and in XML. Any suggestions?
-1
votes
1 answer

Learning qplot (gnuplot)

What is a good resource for learning qplot? Or even what is a good qplot reference?
pacman
  • 2,050
  • 4
  • 16
  • 17
1 2 3
45
46