Re: [Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-29 Thread Johan Grönqvist
Wayne Watson skrev: See Subject. I don't seem able to produce a simple example of using histogram that uses range. I tried a variety of ranges, range=(0,22), range=(0, 50.2), ... and I see no difference between any of the x values scale. Can someone provide an example that shows how it

Re: [Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-29 Thread Johan Grönqvist
Wayne Watson skrev: Anyway, where, folder, does your program write the files? I'm not familiar with figure, but apparently using it produces some canvas that plt.hist places it's output on. One can than save fig to a file. What happens if I don't use figure? I just put a copy of the line

Re: [Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-29 Thread Wayne Watson
I'm on Win XP, and have no idea where the images went. I guess I'll have to search my C-disk. I just began the search. Looking at C:\Python25, I see no image files. Same with C:\Python25\Scripts If I put some code up front as below, the image comes up on my screen, but using a range of 0 to 8

Re: [Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-29 Thread Johan Grönqvist
Wayne Watson skrev: So far matplotlib pretty much leaves the user on his own. Yes, there are plenty of examples, but there seem to be no explanations about matters like figure or show. No tutor on any of this I guess. Apparently, they are leaving it up to one's MATLAB experience. It's been

[Matplotlib-users] A Simple Example of histogram Using Range?

2009-11-28 Thread Wayne Watson
See Subject. I don't seem able to produce a simple example of using histogram that uses range. I tried a variety of ranges, range=(0,22), range=(0, 50.2), ... and I see no difference between any of the x values scale. Can someone provide an example that shows how it works? -- Wayne