Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread KURT PETERS
> Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS) > From: smit...@fusion.gat.com > Date: Tue, 1 Oct 2013 11:34:39 -0700 > CC: pmhob...@gmail.com; matplotlib-users@lists.sourceforge.net > To: petersk...@msn.com > > > On Oct 1, 2013, at 8

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread Sterling Smith
On Oct 1, 2013, at 8:59AM, KURT PETERS wrote: > > REPLY: > > > here's what SHOULD be happening > > | 0 1 5 9 13 18 21 24 25 28 > 3 | x > |x x > | x

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread Benjamin Root
On Tue, Oct 1, 2013 at 1:55 PM, KURT PETERS wrote: > > > > Date: Tue, 1 Oct 2013 19:35:39 +0200 > > > Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS) > > From: goyod...@gmail.com > > To: petersk...@msn.com > > C

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread Sterling Smith
On Oct 1, 2013, at 11:01AM, Jody Klymak wrote: > > On Oct 1, 2013, at 10:55 AM, KURT PETERS wrote: > >> Goyo, >> Thanks, the code below seems to work. The problem is that with >> "REAL/actual" data, I have SO many data points that each point is now >> labeled and it takes forever to rend

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread Jody Klymak
On Oct 1, 2013, at 10:55 AM, KURT PETERS wrote: > Goyo, > Thanks, the code below seems to work. The problem is that with > "REAL/actual" data, I have SO many data points that each point is now labeled > and it takes forever to render. And when it does render, I cannot read the > axis bec

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread KURT PETERS
> Date: Tue, 1 Oct 2013 19:35:39 +0200 > Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS) > From: goyod...@gmail.com > To: petersk...@msn.com > CC: pmhob...@gmail.com; matplotlib-users@lists.sourceforge.net > > 2013/10/1 KURT PETERS : >

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread Goyo
2013/10/1 KURT PETERS : > here's what SHOULD be happening > > | 0 1 5 9 13 18 21 24 25 28 > 3 | x > |x x > | xx > | x x > -1|_x__x_ >12

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread KURT PETERS
It's not really clear to me what you're trying to do. But the rounding of the axes limits is an expected behavior of matplotlib. You can set them manually if you like. Also, I think this achieves what you want and is much simpler. import numpy as npimport matplotlib.pyplot as pltxdat=np.arange(

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-10-01 Thread Paul Hobson
On Mon, Sep 30, 2013 at 4:50 PM, KURT PETERS wrote: > That doesn't seem to fix it. What I'm expecting is at the top, 28 should > correspond to the value -2. Instead it puts a 30 there. > Kurt > > It's not really clear to me what you're trying to do. But the rounding of the axes limits is an ex

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-09-30 Thread KURT PETERS
That doesn't seem to fix it. What I'm expecting is at the top, 28 should correspond to the value -2. Instead it puts a 30 there. Kurt Date: Mon, 30 Sep 2013 16:20:50 -0700 Subject: Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS) From: pmhob...@gmail.com To: petersk.

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-09-30 Thread Paul Hobson
On Mon, Sep 30, 2013 at 1:43 PM, KURT PETERS wrote: > I'm including the code below to demonstrate the problem. The top should > have simtimedata (0 through 28) labeling the points. As you can see, > MATPLOTLIB just distributes those values evenly instead of assigning them > properly. > Any idea

Re: [Matplotlib-users] x axis non-uniform labeling (KURT PETERS)

2013-09-30 Thread KURT PETERS
I'm including the code below to demonstrate the problem. The top should have simtimedata (0 through 28) labeling the points. As you can see, MATPLOTLIB just distributes those values evenly instead of assigning them properly. Any ideas? #!/usr/bin/env python import numpy as np from matplotlib

[Matplotlib-users] x axis non-uniform labeling

2013-09-28 Thread KURT PETERS
I'm trying to find a glitch in an FPGA simulation. The data stored in a file is: (simulation time, y) In reality, if I plot that I get large gaps because the simulation time continues and data is only output periodically. In other words simulation time is not continuous. I'd like to view th