A diagram that exhibits a relationship, between two sets of numbers as a set of points having coordinates determined by the relationship.
Questions tagged [graphing]
680 questions
17
votes
1 answer
creating stacked histogram with pandas dataframes data python
I am trying to create a stacked histogram with data from 2 or more uneven pandas dataframes? So far I can get them to graph on top of each other but not stack.
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('dert.csv',…

ccsv
- 8,188
- 12
- 53
- 97
15
votes
3 answers
javascript graphing library
I'm looking for a nice graphing library for JavaScript that can handle the following types of graphs:
Line Graphs
Histograms
Scatterplots
Motion Charts
I've tried Google's Chart Tools but they don't seem to have a nice histogram chart (nor can I…

lightningmanic
- 2,025
- 5
- 20
- 41
15
votes
2 answers
Treat axis as date/time (epoch)
I'm generating a graph with gnuplot of activity over the last twenty four hours, but the time axis looks really bad because it's trying to fit the long number for every five minutes in the last day.
Is there any way for gnuplot to treat the x-axis…

Jeffrey Aylesworth
- 8,242
- 9
- 40
- 57
14
votes
4 answers
How can I make a stepline or stepped chart in chart.js or D3?
I'm able to accomplish this in Google Spreadsheets, below is a screenshot:
Here's the small dataset in CSV
Buy PPU,Sell PPU,Net…

elzi
- 5,442
- 7
- 37
- 61
13
votes
6 answers
What is an (x,y) plot alternative to matplotlib in Python?
I've been trying for several hours to download/build/install/use matplotlib and am at my wit's end. I finally got it to build and it runs but doesn't display anything despite calling plt.show().
Is there an alternative to matplotlib? I just need…

Jason S
- 184,598
- 164
- 608
- 970
13
votes
1 answer
grouped bar graph
I have the following data:
bin groupname total_dist
0 rowA 377
0 rowA 306.6
0 rowB 2.1
0 rowB 110.6
1 rowA 918.1
1 rowA 463.2
1 rowB 798.2
1 rowB 1196
2 rowA 1295.1
2 rowA 1269.1
2 rowB 698
2 …

dnagirl
- 20,196
- 13
- 80
- 123
12
votes
2 answers
Change matplotlib line style mid-graph
I'm graphing some data (two lines) and I'd like to change the line style for the portions of the lines where the difference between them is statistically significant. So, in the below image (now a link b/c anti-spam policies don't allow me to post…

Sceeerutinizer
- 125
- 1
- 6
12
votes
6 answers
What graphing packages/APIs exist for Perl?
I'm doing some research on online Graphing packages for different languages and would like to know what current up-to-date graphing packages there are for Perl which are worth investigating
Minimum desired capabilities should include the kind which…

j pimmel
- 11,617
- 6
- 33
- 43
12
votes
5 answers
Free C# Grid/Graph component
Can anyone recommend a free grid/graphing component for C#/.NET? I'm having a look at NPlot right now, but so far I'm finding it quite troublesome.
EDIT: I particularly need something that plugs into Windows Forms - I'm not doing ASP.NET, and don't…

endian
- 4,234
- 8
- 34
- 42
12
votes
1 answer
jQuery Flot data/axis labels on top of graph
Is there a way to overlay the x-axis and y-axis numeric labels onto a jQuery Flot graph. So, I want the labels to not be outside, next to the graph, but on top of the graph itself.
The following example creates an overlay div on top of the graph for…

Candidasa
- 8,580
- 10
- 30
- 31
11
votes
1 answer
creating confidence area for normally distributed scatterplot in ggplot2 and R
I have some data, say (in reality, I have a large amount of data):
x y
0.1 0.267
0.2 0.254
0.3 0.182
0.4 0.173
0.5 0.121
0.6 0.089
0.7 0.070
0.8 0.056
0.9 0.031
This data roughly follows a trend curve that I plot with ggplot stat_smooth().…

Andrew Blevins
- 167
- 1
- 9
11
votes
2 answers
How to put axes behind the graph?
I created a graph using geom_line and geom_point via ggplot. I want my axes to meet at (0,0) and I want my lines and data points to be in front of the axes instead of behind as shown:
I've tried:
coord_cartesian(clip = 'off')
putting geom_line and…

Holly Huang
- 111
- 4
11
votes
3 answers
Good Silverlight 4.0 chart / graph component?
I've been using the Silverlight Toolkit but I'm finding the quality lacking; in particular this memory leak / phantom point bug renders the Chart component completely unusable.
Can anyone recommend a good chart / graph component for Silverlight 4.0?…

Duncan Bayne
- 3,870
- 4
- 39
- 64
10
votes
4 answers
How do I control the tick label size in flot
I have a basic bar chart I'm presenting in flot (5 bars, displaying the % per status).
$.plot($("#placeholder"), [
{
label: 'Failed',
data: [[0,10]],
bars: { show: true }
},
{
label: 'Passed',
…

Bittercoder
- 11,753
- 10
- 58
- 76
10
votes
1 answer
Python plotting error bars with different values above and below the point
Warning: I'm very new to using python.
I'm trying to graph data using error bars but my data has different values for the error above and below the bar, i.e. 2+.75,2-.32.
import numpy as np
import matplotlib.pyplot as plt
# example data
x =…

Rima
- 299
- 2
- 4
- 10