graphing Questions

5

Solved

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: 'Passe...
Michelemichelina asked 20/1, 2009 at 2:26

5

Solved

I have a square, where the closest points are 1 unit away from the center. See my ascii diagram below: +-----------+ | | | x | |-----+ | | | | | +-----------+ Therefore, the distance from the or...
Beauregard asked 25/1, 2011 at 0:44

5

I am trying to use pandas_bokeh to create a line graph with a pandas dataframe I call bucketed_df import pandas_bokeh pandas_bokeh.output_notebook() bucketed_df.plot_bokeh(kind='line') for some r...
Sorci asked 1/11, 2022 at 19:33

5

Solved

How can I add a newline to a plot's label (e.g. xlabel or ylabel) in matplotlib? For example, plt.bar([1, 2], [4, 5]) plt.xlabel("My x label") plt.ylabel(r"My long label with $\Sigma_{C}$ math \n ...
Milissamilissent asked 17/4, 2010 at 22:32

2

Solved

How can I change the size of only the yaxis label? Right now, I change the size of all labels using pylab.rc('font', family='serif', size=40) but in my case, I would like to make the y-axis label ...
Tonytonya asked 1/5, 2012 at 21:39

2

Take, for instance, this code sample: import numpy as np import matplotlib.pyplot as plt f = np.random.random(100) g = np.random.random(100) fig = plt.figure(figsize=(15,15)) fig.suptitle('Long Su...
Levant asked 12/5, 2013 at 1:46

6

Solved

With matplotlib when a log scale is specified for an axis, the default method of labeling that axis is with numbers that are 10 to a power eg. 10^6. Is there an easy way to change all of these labe...
Odd asked 20/2, 2014 at 21:42

2

Solved

We graph fast counters with sum(rate(my_counter_total[1m])) or with sum(irate(my_counter_total[20s])). Where the second one is preferrable if you can always expect changes within the last couple of...
Frankiefrankincense asked 29/7, 2016 at 13:10

4

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 PPU 0.023,0.019,-0.000725 0.026,0.0165,-0.003725 0.021,0.021,0.00...
Rotten asked 9/10, 2014 at 20:32

2

Solved

I am using AlphaVantage API to download data points, which I then convert to a pandas DataFrame. I want to plot the new DataFrame with a Scatter/Line graph using Plotly. The graphs seems to come ou...
Clive asked 12/6, 2021 at 2:17

2

Solved

I have an list of values that alternate between 0 and 1, eg [0,1,0,1,0] and I want to graph them so they appear as a square wave using matplotlib for python. I have this so far: input_amp = [1,0,1...
Sweettempered asked 23/2, 2016 at 13:55

4

Solved

I'm an R/ggplot newbie. I would like to create a geom_line plot of a continuous variable time series and then add a layer composed of events. The continuous variable and its timestamps is stored in...
Ceuta asked 29/11, 2011 at 20:53

1

Solved

I am graphing the node_hwmon_temp_celsius metric from prometheus and would like to smooth out the graph a little as it's quite sensitive (1/3 of a degree) and shows a lot of spikes when the obvious...
Macle asked 20/8, 2020 at 15:37

3

Solved

I'm currently using Matplotlib to create a histogram: import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as pyplot ... fig = pyplot.figure() ax = fig.add_subplot(1,1,1,) n, bins, p...
Nadabb asked 15/6, 2011 at 3:34

2

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...
Levine asked 6/6, 2020 at 20:2

2

my code is taking serial data from an arduino, processing it, and then plotting it. I am using matplotlib as the graphics interface. Every time it 'draws' though it forces attention to it, and a us...
Barina asked 24/6, 2013 at 23:3

8

Solved

I've started on a project graphing Tomcat logs using gnuplot-py, specifically correlating particular requests with memory allocation and garbage collection. What is the collective wisdom on ...
Imam asked 26/5, 2009 at 16:49

2

Solved

My program can generate up to 2000000 points within 5 seconds, so I don't have a problem with speed. Right now I am using matplotlib.pyplot.scatter to scatter all my points on my graph. For s=1, it...
Hilbert asked 8/2, 2020 at 21:26

4

Solved

So, it seems one cannot do the following (it raises an error, since axes does not have a set_linewidth method): axes_style = {'linewidth':5} axes_rect = [0.1, 0.1, 0.9, 0.9] axes(axes_rect, **axes...
Broker asked 31/3, 2010 at 13:58

2

Solved

I've run into a bit of an issue in my R self-teaching. I'm hoping someone here can help, as I've found no solutions on Google. I'm trying to apply some basic color parameters to the plot command. ...
Selfjustifying asked 12/12, 2016 at 22:15

1

Solved

#read data into dataframe con=pd.read_csv('testOutput.csv') ''' testOutput.csv looks like : Sample,Count sample1,99.9 sample2, 96.6 ''' ## set colours to increase with values sns.set(style="dark...
Harms asked 16/11, 2017 at 15:2

4

Solved

I have csv files that are generated, and I am trying to load them into d3 to graph them. The column names are based on the data, so I essentially can't know them in advance. With testing, I am able...
Majordomo asked 27/2, 2013 at 20:25

3

Solved

I've got a flot chart that I want to dynamically update via AJAX. I can render the chart initially, but whenever I try to update the dataSet and redraw the chart, it resets all my data points: pl...
Unshaped asked 23/4, 2011 at 23:49

2

I have a time series chart. I have my x-axis as a Date, and the Y-axis are just numbers. I am trying to format the date on the x-axis, however I keep getting exceptions. My code is below: TimeSer...
Arista asked 1/2, 2014 at 20:43

6

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 Minimu...
Seamanship asked 20/1, 2009 at 7:8

© 2022 - 2024 — McMap. All rights reserved.