[Matplotlib-users] wiki

2006-12-16 Thread Simson L. Garfinkel
- Original Message - From: Angus McMorland [EMAIL PROTECTED] We really shoud wiki more of these email discussions as they come along. It's so much easier to search there, since things are in some sort of logical arrangement. I agree. I'm very confused by the wiki in general. I click

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Pierre GM
On Friday 15 December 2006 21:07, Simson Garfinkel wrote: Hm. thanks for the info. But it's not perfect... I get times in my formats, but not the dates. Here is the sample code: Yeah, I agree, the situation is far from ideal. Besides, it turns out that there's no deep magic behind have_dates,

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Simson Garfinkel
Now, how do I get two boxplots on the same plot? Well, just draw two axes. Simson, now that you're more experienced with matplotlib, you should really start speaking python to it. I'd love to speak python to it. But it's harder when all of the examples are in matlab... fig =

Re: [Matplotlib-users] wiki

2006-12-16 Thread Pierre GM
I'm very confused by the wiki in general. I click on wiki and it takes me to something that doesn't obviously have anything to do with matplotlib... Well, it does say: matplotlib cookbook. Like, what's scipy.org? Is it a company? Who is EnThought? Oh. What are you using to manipulate arrays ?

Re: [Matplotlib-users] wiki

2006-12-16 Thread Simson Garfinkel
On Dec 16, 2006, at 11:58 AM, Pierre GM wrote: I'm very confused by the wiki in general. I click on wiki and it takes me to something that doesn't obviously have anything to do with matplotlib... Well, it does say: matplotlib cookbook. Like, what's scipy.org? Is it a company? Who is

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Eric Firing
BTW, this whole subplot(ijk) instead of subplot(i,j,k) notation is really, really confusing to me... Don't get overwhelmed. ijk is a shortcut for (i, j, k), that works well if you're working with less than 10 plots in either direction. It is a holdover from the early days of Matlab. It

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Simson Garfinkel
I agree. It may be common in matlab, but it really doesn't belong in python. On Dec 16, 2006, at 12:50 PM, Eric Firing wrote: BTW, this whole subplot(ijk) instead of subplot(i,j,k) notation is really, really confusing to me... Don't get overwhelmed. ijk is a shortcut for (i, j, k), that

Re: [Matplotlib-users] wiki

2006-12-16 Thread Pierre GM
Hi, Pierre. There's a lot of assumptions here. Indeed, and I apologize I sort of know what numarray, Numeric and numpy are, but I don't care all that much. I'm just interested in matplotlib for the plotting. Well, matplotlib relies on some packages to handle data arrays. It's probably a good

[Matplotlib-users] Fwd: boxplot

2006-12-16 Thread David Chin
On 12/16/06, Simson Garfinkel [EMAIL PROTECTED] wrote: On Dec 16, 2006, at 12:02 PM, Pierre GM wrote: I know, the learning curve is a bit steep at first, but soon you'll be a real pro. Thanks. I have roughly 30 years of programming experience and know something like 20+ languages. The

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Pierre GM
I want multiple boxes on a single plot, with one box per day. Take a look at how I've done it with just plot() and some error bars... I'm still not sure I understand where the problem is: You want several boxes in a plot ? Something along the lines of what I already sent you ? boxplot([set1,

[Matplotlib-users] Calling matplotlib from C++ ?

2006-12-16 Thread Xavier Gnata
Hi, Each time I'm working on C++ codes using vector or valarray, I would like to be able to plot them. The problem is that there is no straitforward way to do that in C++. My goal is not to code a QT or GTK application but only to be able to plot 1D and 2D things from one given large C++ code

Re: [Matplotlib-users] Fwd: boxplot

2006-12-16 Thread Pierre GM
On Saturday 16 December 2006 13:01, David Chin wrote: On 12/16/06, Simson Garfinkel [EMAIL PROTECTED] wrote: Thanks. I have roughly 30 years of programming experience and know something like 20+ languages. The learning curve here is steep, and I think that a lot could be done to make it

Re: [Matplotlib-users] Fwd: boxplot

2006-12-16 Thread Simson Garfinkel
I apologize if I offended anyone, this was really not my intention at all. Oh, I was never offended. My point was that after only a few hours, it is indeed possible to get impressive results and become a real MPL pro. I think that it's possible to get impressive results in a few hours,

Re: [Matplotlib-users] Fwd: boxplot

2006-12-16 Thread Pierre GM
On Saturday 16 December 2006 13:47, Simson Garfinkel wrote: I apologize if I offended anyone, this was really not my intention at all. Oh, I was never offended. Thanks a lot for your patience nevertheless. I think that it's possible to get impressive results in a few hours, but not

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Pierre GM
On Saturday 16 December 2006 16:02, Eric Firing wrote: It sounds like the real problem is that the initial use of asarray in boxplot is a bug--it should transparently support an object array, as you suggest (but numpy only), or an ordinary array, *or* a list or tuple of data vectors, and all

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Simson L. Garfinkel's Treo 700p
Yep. I would like to pass in a list of lists, where each sublist (or array) describes a boxplot to plot. Meanwhile, i've been having fun with histograms. The Y axis labels are a pain. I think defaulting to scientific notation, as matplotlib frequently does, is annoying... ___ Sent with

Re: [Matplotlib-users] boxplot

2006-12-16 Thread Eric Firing
Simson L. Garfinkel's Treo 700p wrote: Yep. I would like to pass in a list of lists, where each sublist (or array) describes a boxplot to plot. This is now present in svn. Meanwhile, i've been having fun with histograms. The Y axis labels are a pain. I think defaulting to scientific

Re: [Matplotlib-users] dateformatter doesn't

2006-12-16 Thread Simson Garfinkel
On Dec 16, 2006, at 10:25 PM, John Hunter wrote: Simson == Simson Garfinkel [EMAIL PROTECTED] writes: Simson Greetings. I've been having lots of luck with my date Simson plots. But I've been having a problem getting the Simson dateformatter to work. I'm using the code below.

[Matplotlib-users] histograms

2006-12-16 Thread Simson Garfinkel
I'm plotting some histograms with hist() --- well, actually with ax.hist(), where ax is an axis --- and the normed=1 isn't working the way I would expect. from pylab import * data = sin(arange(0.0,100,.01)) fig = figure() ax = fig.add_subplot(111)

Re: [Matplotlib-users] dateformatter doesn't

2006-12-16 Thread John Hunter
Simson == Simson Garfinkel [EMAIL PROTECTED] writes: Simson That's odd. I would think that it makes more sense to set Simson the format *before* the data is plot, not after. When normed is True, hist returns a probability density so that the integral of the histogram equals one,

Re: [Matplotlib-users] Usability with matplotlib

2006-12-16 Thread Simson Garfinkel
Simson 3. If I was going to make a major change to the API at Simson this point, it would be to make it so that you don't have Simson a class/function/ identifier called axes and another one Simson called axis. I frequently get confused between these two Simson words; I

Re: [Matplotlib-users] histograms

2006-12-16 Thread Eric Firing
Simson, Using your example I get most of the values around 0.5, and the ends near 2.3. This is correct for a probability density function; the integral of the pdf over the range of the bins should be 1. This way the pdf values as a function of x don't change with changes in the number of

[Matplotlib-users] Matplotlib *egg* gives error about trying to modify system files...

2006-12-16 Thread chris
I'm trying to install the matplotlib egg on Debian Etch. I got g++, pygtk and everything else I could think that matplotlib wants. It froze with following mysterious message... The package setup script has attempted to modify files on your system that are not within the EasyInstall build area,