Re: [Matplotlib-users] Plotting Question

2007-04-23 Thread Ken McIvor
On Apr 23, 2007, at 5:16 PM, atlas wrote: > > Basically, I would like to be able to create objects of arbitrary type > (possibly just a string, but I'd like to have some flexibility if > possible), > create relationships between the objects, and have a graph > automagically > space them out on

Re: [Matplotlib-users] Plotting Question

2007-04-23 Thread Steve Lianoglou
Hi, > Mine is a project of tracing a program flow. I'd like to be able > to create a > graph with X number of related boxes (representing function calls), > with > vertexes between them (representing calls from one to another). > > Basically, I would like to be able to create objects of arbit

Re: [Matplotlib-users] Plotting Question

2007-04-23 Thread Christopher Barker
atlas wrote: > Mine is a project of tracing a program flow. I'd like to be able to create a > graph with X number of related boxes (representing function calls), with > vertexes between them (representing calls from one to another). > So the first question is, am I in the wrong place? Is this

[Matplotlib-users] Newbie. Memory useage question

2007-04-23 Thread brett . mcsweeney
I'm producing series of plots (spectograms) in a program loop using imshow and saving each plot to .png. Even though I close() each plot after each savefig(...), the memory does not appear to be freed up, and the memory useage goes up and up as the program runs (and stalls the computer as it t

[Matplotlib-users] Plotting Question

2007-04-23 Thread atlas
Hello all, I'm a text-mode coder by nature. I have done some GUI stuff, but not really graphing or plotting-related. The last time I touched graphics was using Java2D about 5 years ago. Perhaps your collective wisdom could save me from heading down too many wrong paths, and help me to use th

[Matplotlib-users] How can I explicitly set the minor tick locations?

2007-04-23 Thread Michael Lerner
Hi, I'm plotting an array, stored as 'data'. It starts out as just the data, but I add little strips on the left and bottom to highlight certain ranges (black where I want the highlights and white where I don't). I use concatenate to tack those strips onto my data array, so 'data' ends up bigger

Re: [Matplotlib-users] question about autoscale_view()

2007-04-23 Thread Eric Firing
Matthias Michler wrote: > Hi everybody, > > some time ago I send the first mail concerning "pylab.autoscale_view()". > Unfortunately nobody reponsed - so I ask you again for any suggestions. > If I should set up another example or explain it, please let me know. > > best regards and thanks in adv

Re: [Matplotlib-users] Rounding issue when plotting

2007-04-23 Thread Christopher Barker
it works fine for me with this change: def plotRocCurve(xCoord, yCoord): # TODO: solve rounding issues here #lines = pylab.plot(xCoord * 100, yCoord * 100, markersize = 2, linewidth = 0.5) lines = pylab.plot(xCoord, yCoord, markersize = 2, linewidth = 0.5) pylab.xlabel('False

Re: [Matplotlib-users] question about autoscale_view()

2007-04-23 Thread Matthias Michler
Hi everybody, some time ago I send the first mail concerning "pylab.autoscale_view()". Unfortunately nobody reponsed - so I ask you again for any suggestions. If I should set up another example or explain it, please let me know. best regards and thanks in advance for any hint, Matthias On Tuesda

Re: [Matplotlib-users] Rounding issue when plotting

2007-04-23 Thread Christopher Barker
David Koch wrote: > I have a "normalized" bunch of co-ordinates with x and y between 0 and 1 > - I have to multiply the values by 100 in order to get the curve I > expected to see, otherwise I don't get anything. What's going on? > > I did: > > pylab.plot(xCoord, yCoord) > pylab.show() we're g

Re: [Matplotlib-users] problem realtime plot

2007-04-23 Thread Matthias Michler
Hi Jan, I'm not sure about the reason, but your little example runs for me using several backends (GtkAgg, TkAgg, WxAgg). I'm using Debian (kernel 2.6) and matplotlib 0.90.0 at revison 3131. Maybe it could help to add some more 'draw()' commands after plotting and reseting data - not really goo

Re: [Matplotlib-users] help with fonts in legends

2007-04-23 Thread Matthias Michler
Hi Stephen, On Sunday 22 April 2007 23:35, Stephen Boulet wrote: > I wanted to use this code to set the label font in my legends: > from pylab.font_manager import fontManager, FontProperties > ... > but I'm getting "ImportError: No module named font_manager". > > Can someone help me set legend siz

[Matplotlib-users] Rounding issue when plotting

2007-04-23 Thread David Koch
Hi, I have a "normalized" bunch of co-ordinates with x and y between 0 and 1 - I have to multiply the values by 100 in order to get the curve I expected to see, otherwise I don't get anything. What's going on? I did: pylab.plot(xCoord, yCoord) pylab.show() ... no extra stuff Thank you, David