Re: [Matplotlib-users] Graph ticks label missing !

2013-08-27 Thread Nicolas Mailhot
Le Lun 26 août 2013 18:21, Goyo a écrit : 2013/7/19 Nicolas Mailhot nicolas.mail...@laposte.net: Le Mer 17 juillet 2013 14:56, Michael Droettboom a écrit : Can you please provide a completely standalone example? The following code has undefined variables etc. Here it is, I'm afraid this

Re: [Matplotlib-users] Graph ticks label missing !

2013-08-26 Thread Nicolas Mailhot
Le Ven 19 juillet 2013 17:47, Nicolas Mailhot a écrit : Le Mer 17 juillet 2013 14:56, Michael Droettboom a écrit : Hi, Can you please provide a completely standalone example? The following code has undefined variables etc. Here it is, I'm afraid this testcase intent is less clear than

Re: [Matplotlib-users] Graph animation performance

2013-08-26 Thread Peter Zimmer
Hello, I set the x data only once now. It is a little bit faster (about 10%). I'm still looking for a solution which only redraws the line and not the whole widget. Peter Am 25.08.2013 15:00, schrieb Skip Montanaro: def updateGraph(self,data): datacut = data[1 -

Re: [Matplotlib-users] Graph ticks label missing !

2013-08-26 Thread Goyo
2013/7/19 Nicolas Mailhot nicolas.mail...@laposte.net: Le Mer 17 juillet 2013 14:56, Michael Droettboom a écrit : Can you please provide a completely standalone example? The following code has undefined variables etc. Here it is, I'm afraid this testcase intent is less clear than what I

[Matplotlib-users] Graph animation performance

2013-08-25 Thread Peter Zimmer
Hello, I want a real-time animation. There is no loop in the animation because the data comes from the real world (AD data). I wrote this class: class Eigendiagramm(object): def __init__(self,daten): self.DiagrammBreite = gtk.Adjustment(100,20,1,1,10,10)

Re: [Matplotlib-users] Graph animation performance

2013-08-25 Thread Skip Montanaro
def updateGraph(self,data): datacut = data[1 - self.DiagrammBreite.get_value():1] self.line.set_ydata(datacut) self.line.set_xdata(numpy.arange(0, datacut.size, 1)) self.fig.canvas.draw() If nothing else, it appears that the plot's x data are

Re: [Matplotlib-users] Graph ticks label missing !

2013-07-19 Thread Nicolas Mailhot
Le Mer 17 juillet 2013 14:56, Michael Droettboom a écrit : Can you please provide a completely standalone example? The following code has undefined variables etc. Here it is, I'm afraid this testcase intent is less clear than what I pasted previously (I replaced variables with precomputed

[Matplotlib-users] Graph ticks label missing !

2013-07-08 Thread Nicolas Mailhot
Hi, Following an hardware failure I had to move some matplotlib scripts from an ancient (but updated) Debian box to a clean RHEL 6 VM. As a result my matplotlib version changed from 1.2.0 (as present in Debian instable) to 1.2.1 (some of the code wanted matplotlib ≥ 1.0, so I rebuilt an 1.2.1

[Matplotlib-users] graph for streaming data in gtk+

2011-11-25 Thread Luka Napotnik
Hello. I'm searching for a method to show a stream of data on a graph. So far I've only managed to get the stream on a regular graph but the data bandwidth is very high (100 samples/sec) and the usual graph doesn't handle redrawing so good. I was searching for a way to utilize the animation

Re: [Matplotlib-users] Graph

2010-10-08 Thread Waléria Antunes David
I don't understand what you did, i'm reading error data from a file. def gera_grafico(N=200, eps=1): x = np.abs(np.random.randn(N)) y = 10*np.log((30*x + 1.)**(0.5)) + 34 + eps * np.random.randn(N) yerr = eps * np.random.randn(N) I don't understand what you did in this code ??

Re: [Matplotlib-users] Graph

2010-10-08 Thread Tony S Yu
On Oct 8, 2010, at 6:52 AM, Waléria Antunes David wrote: I don't understand what you did, i'm reading error data from a file. def gera_grafico(N=200, eps=1): x = np.abs(np.random.randn(N)) y = 10*np.log((30*x + 1.)**(0.5)) + 34 + eps * np.random.randn(N) yerr = eps *

Re: [Matplotlib-users] Graph

2010-10-07 Thread Waléria Antunes David
How to have only the vertical grid lines.? And I trying to increase the spacing in the x direction, I used the 'ax.set_xscale (' log ')', but the points were even more confused. Do you saw my image that sent yestarday? On Wed, Oct 6, 2010 at 5:10 PM, Benjamin Root ben.r...@ou.edu wrote: On

Re: [Matplotlib-users] Graph

2010-10-07 Thread Waléria Antunes David
Hi, I'm asking how to have only the vertical grid lines.? And I'm trying to increase the spacing in the x direction, I used the 'ax.set_xscale (' log ')', but the points were even more confused. Do you saw my image that sent yestarday? Thanks, Waleria On Wed, Oct 6, 2010 at 5:10 PM, Benjamin

Re: [Matplotlib-users] Graph

2010-10-07 Thread Tony S Yu
On Oct 7, 2010, at 11:54 AM, Waléria Antunes David wrote: Hi, I'm asking how to have only the vertical grid lines.? And I'm trying to increase the spacing in the x direction, I used the 'ax.set_xscale (' log ')', but the points were even more confused. Do you saw my image that sent

Re: [Matplotlib-users] Graph

2010-10-07 Thread John Hunter
On Thu, Oct 7, 2010 at 1:01 PM, Waléria Antunes David waleriantu...@gmail.com wrote: I need to know how do these vertical lines on the graph. See the picture, the lines circled. We call these major and minor ticks. The major ticks are the taller ones, the minor ticks are the smaller ones.

Re: [Matplotlib-users] Graph

2010-10-07 Thread Tony S Yu
On Oct 7, 2010, at 3:38 PM, Waléria Antunes David wrote: Hi, I did like the links below, but seeing as it was my chart. See My code: http://pastebin.com/KcjHAPLN On Thu, Oct 7, 2010 at 3:08 PM, John Hunter jdh2...@gmail.com wrote: On Thu, Oct 7, 2010 at 1:01 PM, Waléria Antunes

Re: [Matplotlib-users] Graph

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 12:13 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, I ploted a graph and above this graph I plot another graph about data errors. so, the x-axis scale according with data errors only goes on 1.4, but I would like to display up to 1.5. how I do

Re: [Matplotlib-users] Graph

2010-10-06 Thread Alan G Isaac
On 10/6/2010 1:13 PM, Waléria Antunes David wrote: the x-axis scale according with data errors only goes on 1.4, but I would like to display up to 1.5. how I do that? http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.xlim I also want to increase the space between 0.0 -

Re: [Matplotlib-users] Graph

2010-10-06 Thread Friedrich Romstedt
2010/10/6 Waléria Antunes David waleriantu...@gmail.com: I ploted a graph and above this graph I plot another graph about data errors. You can do this in one step by using ax.errorbar() http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.errorbar . Try using fmt=',', this

Re: [Matplotlib-users] Graph

2010-10-06 Thread Benjamin Root
On Wed, Oct 6, 2010 at 2:36 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Benjamin, I used the 'ax.set_xscale (' log ')', but the points were even more confused. What I need is to increase from 0.0 to 0.2 points, 0.2 to 0.4 ... increase the size of the graph. However I do not

Re: [Matplotlib-users] Graph gains a blank space at the right hand side

2010-02-23 Thread Jae-Joon Lee
On Mon, Feb 22, 2010 at 11:00 AM, Geoff Bache geoff.ba...@gmail.com wrote: So I guess I have two questions. 1) Is this a bug? It certainly feels like one... 2) Is there a workaround / what should I do instead? Try axessubplot2.autoscale_view(tight=True) Otherwise, you need to manually

[Matplotlib-users] Graph gains a blank space at the right hand side

2010-02-22 Thread Geoff Bache
Hi all, I'm having some trouble with graphs ending up wider than I'd like. I'm using matplotlib 0.98.5.2. If I do as follows: import pylab pylab.clf() figure2 = pylab.figure(1) axessubplot2 = pylab.subplot(111) axessubplot2.fill_between([0, 1, 2, 3, 4, 5, 6], [0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1,

Re: [Matplotlib-users] graph suggestion

2010-02-15 Thread Stefaan Lippens
http://www.graphviz.org/ ? On Sun, Feb 14, 2010 at 5:35 AM, Mag Gam magaw...@gmail.com wrote: I manage 300 servers at my university lab. I would like to map out all the cron entries into a nice graph but I am not sure what would be appropriate. Can someone please suggest what would be ideal?

[Matplotlib-users] graph suggestion

2010-02-13 Thread Mag Gam
I manage 300 servers at my university lab. I would like to map out all the cron entries into a nice graph but I am not sure what would be appropriate. Can someone please suggest what would be ideal? TIA -- SOLARIS 10 is

[Matplotlib-users] Graph title trepassing bounds

2009-08-11 Thread Gewton Jhames
Hello everyone, my graph's title is been greater than the size of the graph. There's a way to get the width of the graph's title so I can increase the width of the graph based on it? Thanks. -- Let Crystal Reports handle

Re: [Matplotlib-users] Graph title trepassing bounds

2009-08-11 Thread John Hunter
On Tue, Aug 11, 2009 at 2:21 PM, Gewton Jhamesgjha...@gmail.com wrote: Hello everyone, my graph's title is been greater than the size of the graph. There's a way to get the width of the graph's title so I can increase the width of the graph based on it? There probably is a way, but it might

[Matplotlib-users] graph not always shown

2006-08-24 Thread Kenny Ortmann
Hey guys I am creating an application that deals with a few graphs, but it does other things also. What I would like to do is to have a wx.Panel that takes some input from the user, and then when I get the information I plot some data. The user picks a start and finish point on the graph and