Re: [Matplotlib-users] large postscript files
On Wednesday 06 September 2006 07:49, [EMAIL PROTECTED] wrote: Hi, The following plot from numarray import * x = arange(8) from pylab import plot,show plot(x,x) show() and saving in postscript format generated a file of 1.5MB, while the equivalent is only 288KB in xmgrace (another plotting program). If I use plot(x,x,k,), this even leads to a horrible 8.0MB. How come? I understand there is an issue with the fonts, but this can't be the only responsible, can it? Plotting no points, just a title, and saving in postscript leads to a file size of only 133KB. FWIW, I'm trying to make postscript plots using Python 2.4.1, latest numarray, and matplotlib 0.83.2. Each data point consists of a line like 54.3869 28.6788 l which is 17 bytes long. 17*8 = 1.36MB. Maybe we dont need as many sig figs, that could cut the size down by maybe 25%. Darren - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Postscript ouput on OS X problem.
Rob == Rob Hetland [EMAIL PROTECTED] writes: Rob I have been having problems with postscript output from MPL Rob on my various Macs that is just beyond the problem discussed Rob in the tread here. But this seemed like the best place to Rob bring it up. The basic problem is that Adobe products like Rob Illustrator can't read MPL .eps output. Are you sure you have set the font paths properly *and* flushed your ~/.matplotlib/ttffont.cache before regenerating your files. Use --verbose-debug when creating your test EPS to make sure you are getting bitstream fonts. If you still have trouble, post an errant eps file somewhere and maybe someone can poke into it. Rob I think that opening an EPS in Illustrator is the ultimate Rob test of EPS format compliance, as those are the folks who Rob made it. I think this is debatable, as it is a closed source implementation of an open document format specification. But I am willing to accept that it is more likely that Illustrator is right than that mpl is right. Rob What can we do to make MPL output universally readable Rob postscript? Find the bug and fix it :-) JDH - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] large postscript files
Darren == Darren Dale [EMAIL PROTECTED] writes: Darren which is 17 bytes long. 17*8 = 1.36MB. Maybe we dont Darren need as many sig figs, that could cut the size down by Darren maybe 25%. We could make the fmt string for PS and SVG output floats a configurable parameter and be done with it. As you know, we've spent a lot of time trying to get the right string that doesn't produce visual errors and I'm not inclined to change the default. But we could make it an rc param for those who want to trade accuracy for space. JDH - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] large postscript files
On Wed, 6 Sep 2006, John apparently wrote: could make it an rc param for those who want to trade accuracy for space. Does anyone really care about 25% enough to make this worthwhile? Just wondering. Cheers, Alan Isaac - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Postscript ouput on OS X problem.
Well, the fonts are correct -- I checked in both the EPS source, and what Illustrator thinks the font is (after translation with pstopdf). The definition of the fonts looks right in the EPS source (checked by comparing against a sample from illustrator). If nobody else is having the same problem, typing pstopdf is really not a tremendous burden. I just thought I would raise this issue. BTW, SVG files seem to do fine with fonts. However, it can take a very long time to save large files in MPL and import large files into Illustrator, which seems to want to translate them into some native format, and does so poorly. If I ever figure out a better solution, I'll let you all know, -Rob On Sep 6, 2006, at 8:46 AM, John Hunter wrote: Rob == Rob Hetland [EMAIL PROTECTED] writes: Rob I have been having problems with postscript output from MPL Rob on my various Macs that is just beyond the problem discussed Rob in the tread here. But this seemed like the best place to Rob bring it up. The basic problem is that Adobe products like Rob Illustrator can't read MPL .eps output. Are you sure you have set the font paths properly *and* flushed your ~/.matplotlib/ttffont.cache before regenerating your files. Use --verbose-debug when creating your test EPS to make sure you are getting bitstream fonts. If you still have trouble, post an errant eps file somewhere and maybe someone can poke into it. Rob I think that opening an EPS in Illustrator is the ultimate Rob test of EPS format compliance, as those are the folks who Rob made it. I think this is debatable, as it is a closed source implementation of an open document format specification. But I am willing to accept that it is more likely that Illustrator is right than that mpl is right. Rob What can we do to make MPL output universally readable Rob postscript? Find the bug and fix it :-) JDH Rob Hetland, Associate Professor Dept. of Oceanography, Texas AM University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Postscript ouput on OS X problem.
On Wednesday 06 September 2006 11:04, Rob Hetland wrote: Well, the fonts are correct -- I checked in both the EPS source, and what Illustrator thinks the font is (after translation with pstopdf). The definition of the fonts looks right in the EPS source (checked by comparing against a sample from illustrator). If nobody else is having the same problem, typing pstopdf is really not a tremendous burden. I just thought I would raise this issue. BTW, SVG files seem to do fine with fonts. However, it can take a very long time to save large files in MPL and import large files into Illustrator, which seems to want to translate them into some native format, and does so poorly. If I ever figure out a better solution, I'll let you all know, One of these days, we'll have to figure out how to embed individual glyphs rather than the entire font set. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Postscript ouput on OS X problem.
On 9/6/06, Rob Hetland [EMAIL PROTECTED] wrote: I have been having problems with postscript output from MPL on my various Macs that is just beyond the problem discussed in the tread here. But this seemed like the best place to bring it up. The basic problem is that Adobe products like Illustrator can't read MPL .eps output. FWIW, I've had very good luck recently using inkscape (http://www.inkscape.org/) to edit PS files, both old ones made by who-knows-what and fresh mpl-off-svn ones. I've been able to fix old labels that needed changes for figures whose data source is nowhere to be found, change a line color and dashing/cap style, etc. I'm not a graphics artist and have never used Illustrator, but for my needs, inkscape has so far been an excellent (and free!) solution. Note that this is on a Linux Ubuntu Dapper box, with the pstoedit program installed, which inkscape uses to read *PS files into an editable vector format. Cheers, f - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] large postscript files
Alan G Isaac wrote: Does anyone really care about 25% enough to make this worthwhile? Just wondering. I tend to think not. You put 80,000 points in a PS, it's going to be big. That's all there is to it, it's the nature of Postscript. I do think clipping is a good idea though. What is the maximum precision in Postscript? It seems unlikely that you could plot 80,000 points and not have number of them overlap, unless it's clipped, so removing essentially redundant points may be another way to to go. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Plotting time on x-axis
Hello, I'm creating a program that plots data in real-time. I want the x-axis to be the time in HH:MM:SS. I'm still playing with the date formatters, but have run into a problem where it seems the axis puts in more points on the axis to make the plot fit nicely. For instance, I want to have 120 data points (seconds) on the graph. Initially, the x-axis starts at, say 0 and goes to 120 (I'd expect this to be 119). The following second the x-axis should go from 1 to 120, then 2 to 121, etc. But instead, the x-axis goes from 0 to 140. Once 141 seconds have passed by, the axis shifts and goes from 20 to 160. Is there any way to make the axis behave so that it keeps just 120 values on the axis and increment the values as described above? Thanks! -Roberto. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.87.5
That error was relating to the source release. Can you please post your error for the binary? On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote: Charlie Moad schrieb: Minor rev bump for numpy 1.0b5 compatibility. This release should remain compatible with future 1.0 releases of numpy. I keep running into the ImportError problem described on the devel list, with the win32 2.4 binary (exe). Is that still just a case of waiting for the mirrors to update, or is there a deeper problem? Are there alternative download links? How to tell whether it's the right binary, since version numbers are the same? Thanks for your help, Sven - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.87.5
Well the thread on the devel list that I referred to explicitly has the win32 exe in its title (Missing __init__.py in matplotlib-0.87.5.win32-py2.4.exe ?) . The starting post there pretty much says it all. There's also a recent post on the numpy list that sounds like it's maybe the same problem (quote): Is there a compatible matplotlib as well? I was o.k. with mpl from enthought until I switched numerix to numpy. That made mpl unhappy. I downloaded 0.87.5 but I broke something in the process because now even switching back to Numeric doesn't make mpl happy. Thanks, Sven Charlie Moad schrieb: That error was relating to the source release. Can you please post your error for the binary? On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote: Charlie Moad schrieb: Minor rev bump for numpy 1.0b5 compatibility. This release should remain compatible with future 1.0 releases of numpy. I keep running into the ImportError problem described on the devel list, with the win32 2.4 binary (exe). Is that still just a case of waiting for the mirrors to update, or is there a deeper problem? Are there alternative download links? How to tell whether it's the right binary, since version numbers are the same? Thanks for your help, Sven - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Strange help behavior
Hi! (Background: I'm on a Mac G4 running OS 10.4.7, Python 2.4.3 (#1, Apr 7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin, matplotlib version 0.87.4. I'm trying to solve some x-axis tick labeling problems I'm having using plot_date; I'm toying with the example date_demo_convert.py to try to learn what changes have what effect. I have the folder MPL_examples on my Desktop, and am running my modifications from a terminal therein.) In the terminal, I launch python, import matplotlib, type help(matplotlib.matplotlib module member) (it doesn't seem to matter which member I request help on) and instead of getting the doc displayed in the terminal, a new GUI instance of python is launched and displays the following window: Nothing happens in the terminal, so I try to quit this new instance of python from the menu bar, and the terminal prints: Traceback (most recent call last): File stdin, line 1, in ? File /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site.py, line 327, in __call__ import pydoc File /Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/pydoc.py, line 57, in ? from collections import deque ImportError: cannot import name deque the dock says the new instance of python is still running, and I have to ctrl-c in the terminal to terminate that new instance (which also terminates the original non-GUI instance of python; if instead of trying to quit from the menu bar, I go straight to the terminal and type ctrl-c, I can terminate the new python instance without getting the exception traceback, but the terminal instance of python still quits). Now, as if this all weren't strange enough, here's the kicker: all this _only_ seems to happen if I try to get help on matplotlib members when I'm running python from within the MPL_examples directory - if I do python, import matplotlib, help(matplotlib.module member) in a terminal based in another directory, I get the expected behavior, i.e., a text printout of the member's doc! (One thing I haven't tried, 'cause it doesn't _seem_ like it should make a difference, is placing the MPL_examples directory someplace different and then repeating the experiment.) Is this a bug? Should I file a bug report? DG - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.87.5
The source error must of propagated to those builds. I will post new ones shortly. On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote: Well the thread on the devel list that I referred to explicitly has the win32 exe in its title (Missing __init__.py in matplotlib-0.87.5.win32-py2.4.exe ?) . The starting post there pretty much says it all. There's also a recent post on the numpy list that sounds like it's maybe the same problem (quote): Is there a compatible matplotlib as well? I was o.k. with mpl from enthought until I switched numerix to numpy. That made mpl unhappy. I downloaded 0.87.5 but I broke something in the process because now even switching back to Numeric doesn't make mpl happy. Thanks, Sven Charlie Moad schrieb: That error was relating to the source release. Can you please post your error for the binary? On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote: Charlie Moad schrieb: Minor rev bump for numpy 1.0b5 compatibility. This release should remain compatible with future 1.0 releases of numpy. I keep running into the ImportError problem described on the devel list, with the win32 2.4 binary (exe). Is that still just a case of waiting for the mirrors to update, or is there a deeper problem? Are there alternative download links? How to tell whether it's the right binary, since version numbers are the same? Thanks for your help, Sven - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Fwd: How do a simple poit plots?
i see the tutorial but only do plot dont plot the points it do a interpolation in the opints and give a line or points folloing the line... someone can say to me hoy only draw points? PS: sorry john i dont see... 2006/9/1, Esdras Caleb [EMAIL PROTECTED]: i see but when i put my point every time they are convered by aproximation in one line no in one expiremintal grafic..2006/9/1, John Hunter [EMAIL PROTECTED]: Esdras == Esdras Caleb [EMAIL PROTECTED] writes:Esdras no i gess i not clear i wnt draw_poits not plot a Esdras line. How i do it? when i plot the array the result is a Esdras line not a goup of poits like must be...I see -- take a look at the tutorial http://matplotlib.sourceforge.net/tutorial.html JDH - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Fwd: How do a simple poit plots?
Esdras Caleb wrote: i see the tutorial but only do plot dont plot the points it do a interpolation in the opints and give a line or points folloing the line... someone can say to me hoy only draw points? It sounds like you want to specify that the plot command should use a marker other than line, which is the default. For instance if you have been doing plot(x,y) and getting a line, then try doing this instead plot(x,y,'.') to get unconnected dots. You can use a variety of markers; there's a list in the pylab documentation somewhere. Hope this helps, Vicki Laidler - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ANN: matplotlib-0.87.5 *fixed*
Thanks alot, everything seems to be ok now! (with numpy 1.0b5) -sven Charlie Moad schrieb: Sorry all for the error. I just uploaded working (at least for me) versions to sourceforge again. For those who are sicking of playing with mirrors here is a direct download. Don't expect this link to be good for a long time though. http://euclid.uits.iupui.edu/mplfiles/ - Charlie On 9/6/06, Charlie Moad [EMAIL PROTECTED] wrote: The source error must of propagated to those builds. I will post new ones shortly. On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote: Well the thread on the devel list that I referred to explicitly has the win32 exe in its title (Missing __init__.py in matplotlib-0.87.5.win32-py2.4.exe ?) . The starting post there pretty much says it all. There's also a recent post on the numpy list that sounds like it's maybe the same problem (quote): Is there a compatible matplotlib as well? I was o.k. with mpl from enthought until I switched numerix to numpy. That made mpl unhappy. I downloaded 0.87.5 but I broke something in the process because now even switching back to Numeric doesn't make mpl happy. Thanks, Sven Charlie Moad schrieb: That error was relating to the source release. Can you please post your error for the binary? On 9/6/06, Sven Schreiber [EMAIL PROTECTED] wrote: Charlie Moad schrieb: Minor rev bump for numpy 1.0b5 compatibility. This release should remain compatible with future 1.0 releases of numpy. I keep running into the ImportError problem described on the devel list, with the win32 2.4 binary (exe). Is that still just a case of waiting for the mirrors to update, or is there a deeper problem? Are there alternative download links? How to tell whether it's the right binary, since version numbers are the same? Thanks for your help, Sven - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] ANN: matplotlib-0.87.5 *fixed*
Charlie Moad wrote: I just uploaded working (at least for me) versions to sourceforge again. Charlie, What are your plans for an OS-X build? Is it time? We'd need a new numpy build too -- that I could do. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] ANN: matplotlib-0.87.5 *fixed*
Try the ones I added to the link above. I already had a mpl build on sf. Numpy is also at the link now. On 9/6/06, Christopher Barker [EMAIL PROTECTED] wrote: Charlie Moad wrote: I just uploaded working (at least for me) versions to sourceforge again. Charlie, What are your plans for an OS-X build? Is it time? We'd need a new numpy build too -- that I could do. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Problem with windows install
I am trying to install matplotlib on my office Windows computer. I have installed the following: python-2.4.3.msi numpy-1.0b5.win32-py2.4.exe scipy-0.5.1.win32-py2.4.exe matplotlib-0.87.5.win32-py2.4.exe on a completely fresh install. I am getting the following message: H:\python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import pylab Traceback (most recent call last): File stdin, line 1, in ? File C:\Python24\Lib\site-packages\pylab.py, line 1, in ? from matplotlib.pylab import * ImportError: No module named matplotlib.pylab import matplotlib Traceback (most recent call last): File stdin, line 1, in ? ImportError: No module named matplotlib What am I doing wrong? Thanks, Ryan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] ANN: matplotlib-0.87.5 *fixed*
I just built the latest on my Linux box, and noticed that it didn't find the wxPython headers. I figured out what to do but I have the following suggestions: 1) at the very least, make the message more useful. I've enclosed a diff to setupext.py that adds some more text. 2) It wouldn't be too hard to make it a bit smarter about finding the right wx-config. wxPython does not install it to a dir on the PATH by default. In my case, I have it there from other wx development installs. The right wx-config, on my machine, is in: /usr/lib/wxPython-2.6.1.0-gtk2-unicode/bin/wx-config by checking the wxPython version installed, you should be able to find it. Or you could use locate, which is how I found it. I don't know how ubiquitous locate is on *nix systems, however. locate *wxPython-2.6.3.0*wx-config 3) Re-do the wxAgg back-end to not need any compiled code! -- one of these days -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] 578a579 print Building MPL without the wxAgg accelerator 581c582,596 print 'WXAgg\'s accelerator requires the wxPython headers.' --- print WXAgg's accelerator requires the wxPython headers. You seem to have a version of wx-config on your PATH that does not point to the wxPython headers. You probably want a version that is stored with the wxPython libraries. It may be in a location like: /usr/lib/wxPython-2.6.3.0-gtk2-unicode/bin/wx-config In any case, locate it, and set the WX_CONFIG environment variable to the full path of the executable like so: export WX_CONFIG=/usr/lib/wxPython-2.6.1.0-gtk2-unicode/bin/wx-config (for the bash shell) 589,590c604,606 include directories or include directories reported by `wx-config --cppflags'. --- include directories or include directories reported by `wx-config --cppflags'. 608,609d623 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] [matplotlib-devel] ANN: matplotlib-0.87.5 *fixed*
Charlie Moad wrote: Try the ones I added to the link above. I already had a mpl build on sf. Numpy is also at the link now. Thanks Charlie. These seem to work, on the simplest of scripts, anyway. Did you build the wxPython accelerator into it? -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/ORR/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Problems with matplotlib for windows
Hi, I installed matplotlib for winXP, and when I try to import pylab I get this error: from pylab import * Traceback (most recent call last): File pyshell#0, line 1, in -toplevel- from pylab import * File C:\Python24\Lib\site-packages\pylab.py, line 1, in -toplevel- from matplotlib.pylab import * File C:\Python24\Lib\site-packages\matplotlib\pylab.py, line 196, in -toplevel- import cm File C:\Python24\Lib\site-packages\matplotlib\cm.py, line 5, in -toplevel- import colors File C:\Python24\Lib\site-packages\matplotlib\colors.py, line 33, in -toplevel- from numerix import array, arange, take, put, Float, Int, where, \ File C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py, line 60, in -toplevel- from Numeric import * I'm using matplotlib-0.87.2.win32-py2.4.exe Does anyone know what I'm doing wrong? Thanks! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Problem with windows install
I had the same problem today, and solved it by using matplotlib-0.87.2.win32-py2.4.exe On Wed, 2006-09-06 at 15:06 -0500, Ryan Krauss wrote: I am trying to install matplotlib on my office Windows computer. I have installed the following: python-2.4.3.msi numpy-1.0b5.win32-py2.4.exe scipy-0.5.1.win32-py2.4.exe matplotlib-0.87.5.win32-py2.4.exe on a completely fresh install. I am getting the following message: H:\python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import pylab Traceback (most recent call last): File stdin, line 1, in ? File C:\Python24\Lib\site-packages\pylab.py, line 1, in ? from matplotlib.pylab import * ImportError: No module named matplotlib.pylab import matplotlib Traceback (most recent call last): File stdin, line 1, in ? ImportError: No module named matplotlib What am I doing wrong? Thanks, Ryan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Response times of GTK vs GTKAgg backends
I'm developing an application for personal use on my Mac, using the GTAgg backend, which renders a series of plots in a figure in a pygtk scrolled window. I'm currently using matplotlib 0.87.3 installed via Fink. Matplotlib is performing well. Today I had occasion to log into my Mac over ssh from work. I noted that the application was extremely slow to display the plots. Running locally on my Mac, the application takes about 5 seconds to display the plots when it opens. Remotely, it took around 5 minutes (repeatable). On a whim, I tried changing to the GTK backend - now it displayed the plots in about 20 seconds, which is quite acceptable considering it is remote access over an ssh tunnel. I checked the CPU usage on both the Mac, and my work PC - the CPU usage was very, very low on both machines, so I'm not sure where the bottleneck lies. My install rights on the work PC are very restricted, so I'm using CygWin via XLiveCD, which I have copied onto the hard drive to speed it up. http://xlivecd.indiana.edu/ This poor performance when using GTKAgg isn't really a problem - I'll code a command line switch to change to the GTK backend for the few times I need remote access. I'm reporting it just in case one of the developers thinks it could be useful to troubleshoot, in case it highlights a problem in the code. I also want to note that the GTK backend is useful to some people, and hope that it will continue to be supported (I seem to recall one mention that it was little used). Thanks for matplotlib. Kevin Horton Ottawa, Canada - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users