473,739 Members | 11,596 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ANN matplotlib-0.60.2: python graphs and charts


matplotlib is a 2D plotting library for python. You can use
matplotlib interactively from a python shell or IDE, or embed it in
GUI applications (WX, GTK, and Tkinter). matplotlib supports many
plot types: line plots, bar charts, log plots, images, pseudocolor
plots, legends, date plots, finance charts and more.

What's new since matplotlib 0.50

This is the first wide release in 5 months and there has been a
tremendous amount of development since then, with new backends, many
optimizations, new plotting types, new backends and enhanced text
support. See http://matplotlib.sourceforge.net/whats_new.html for
details.
* Todd Miller's tkinter backend (tkagg) with good support for
interactive plotting using the standard python shell, ipython or
others. matplotlib now runs on windows out of the box with python
+ numeric/numarry

* Full Numeric / numarray integration with Todd Miller's numerix
module. Prebuilt installers for numeric and numarray on win32.
Others, please set your numerix settings before building
matplotlib, as described on
http://matplotlib.sourceforge.net/faq.html#NUMARRAY

* Mathtext: you can write TeX style math expressions anywhere in your
figure.
http://matplotlib.sourceforge.net/sc...#mathtext_demo.

* Images - figure and axes images with optional interpolated
resampling, alpha blending of multiple images, and more with the
imshow and figimage commands. Interactive control of colormaps,
intensity scaling and colorbars -
http://matplotlib.sourceforge.net/sc...l#layer_images

* Text: freetype2 support, newline separated strings with arbitrary
rotations, Paul Barrett's cross platform font
manager.
http://matplotlib.sourceforge.net/sc...tml#align_text

* Jared Wahlstrand's SVG backend (alpha)

* Support for popular financial plot types -
http://matplotlib.sourceforge.net/sc...#finance_work2

* Many optimizations and extension code to remove performance
bottlenecks. pcolors and scatters are an order of magnitude
faster.

* GTKAgg, WXAgg, TkAgg backends for http://antigrain.com (agg)
rendering in the GUI canvas. Now all the major GUIs (WX, GTK, Tk)
can be used with a common (agg) renderer.

* Many new examples and demos - see http://matplotlib.sf.net/examples
or download the src distribution and look in the examples dir.

Documentation and downloads available at
http://matplotlib.sourceforge.net.

John Hunter
Jul 18 '05 #1
3 2623
In article <ma************ *************** **********@pyth on.org>,
John Hunter <jd******@ace.b sd.uchicago.edu > wrote:
matplotlib is a 2D plotting library for python. You can use
matplotlib interactively from a python shell or IDE, or embed it in
GUI applications (WX, GTK, and Tkinter). matplotlib supports many
plot types: line plots, bar charts, log plots, images, pseudocolor
plots, legends, date plots, finance charts and more.

What's new since matplotlib 0.50


[cut]

Sounds tremendous.

Anyone have any experience running this on Mac OS X? What does it take
to get it up and running. I'm enticed. Will check it out on my own,
too, but any info welcome. Thanks.

-- Lou Pecora (my views are my own)

They laughed at Galileo. They laughed at Newton.
But they also laughed at Bozo the Clown. -- Carl Sagan
Jul 18 '05 #2
>>>>> "Lou" == Lou Pecora <pe****@anvil.n rl.navy.mil> writes:

Lou> Anyone have any experience running this on Mac OS X? What
Lou> does it take to get it up and running. I'm enticed. Will
Lou> check it out on my own, too, but any info welcome. Thanks.

Hi Lou,

In response to this thread on the mailing list
http://sourceforge.net/mailarchive/f...forum_id=33405
I just made some changes to setupext.py (matplotlib's config script)
to accommodate the tk framework under OS X (borrowed from PIL's
setup.py). You can get the updated file from
http://matplotlib.sourceforge.net/setupext.py. If you want to use
TkAgg on OS X and are using the tcl/tk framework, please save this in
your matplotlib src dir before running setup.py.

See also these threads from the matplotlib mailing list

http://sourceforge.net/mailarchive/f...forum_id=33405

http://sourceforge.net/mailarchive/f...forum_id=33405

http://sourceforge.net/mailarchive/f...forum_id=36187

Good luck!
JDH


Jul 18 '05 #3
In article <ma************ *************** **********@pyth on.org>,
John Hunter <jd******@ace.b sd.uchicago.edu > wrote:
>> "Lou" == Lou Pecora <pe****@anvil.n rl.navy.mil> writes:

Lou> Anyone have any experience running this on Mac OS X? What
Lou> does it take to get it up and running. I'm enticed. Will
Lou> check it out on my own, too, but any info welcome. Thanks.

Hi Lou,

In response to this thread on the mailing list
http://sourceforge.net/mailarchive/f...forum_id=33405
I just made some changes to setupext.py (matplotlib's config script)
to accommodate the tk framework under OS X (borrowed from PIL's
setup.py). You can get the updated file from
http://matplotlib.sourceforge.net/setupext.py.

Good luck!
JDH


This is great to hear and much appreciated! I had tried so many times
(with several versions of matplotlib) get it running on OS X and always
ended in frustration.
Incidentally, I did recently manage to get it working (but only by
installing the huge Scisoft binary bundle:
http://www.stecf.org/macosxscisoft/) which finally got matplotlib up and
running. After using now for a few weeks, I've been hugely impressed
with the quality of the plots and its ease of use -- definitely worth
all the trouble to get it installed.

J.S.
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1363
by: Mathias | last post by:
Dear NG, I need to draw a few images in the same window and found matplotlib to be a very nice tool for my needs (thanks for the hint!). But I have trouble installing matplotlib on RedHat9 - under XP it runs just fine. I updated all the indicated packages except the agg package which I didn't really understand. So output with default setting is: on linux2 Type "help", "copyright", "credits" or "license" for more information.
2
4977
by: Dr. Colombes | last post by:
MatPlotLib question: How to get more different size plot symbols in the plot function ? Is there a way to get different size squares (or circles or triangles, etc.) ? For example, in a two dimensional plot of heights and weights of individuals, is there a way to represent also the age of the individual by the size of the plot symbol ?
8
30482
by: Derek Basch | last post by:
Can anyone give any suggestions on how to make a logarithmic (base 10) x and y axis (loglog) plot in matplotlib? The scatter function doesn't seem to have any log functionality built into it. Thanks, Derek Basch P.S. I suck at math so feel free to make me feel stupid if it is really easy to do :).
2
4853
by: Flavio | last post by:
I am trying to freeze an application which imports matplotlib. It all works fine on the machine where it was frozen. The executable runs without a glitch. But when I move the directory containing the frozen executable and other libs to a new machine, I get the following error: Traceback (most recent call last): File "/home/fccoelho/Downloads/cx_Freeze-3.0.2/initscripts/Console.py",
2
11649
by: Grant Edwards | last post by:
I downloaded examples/contour_demo.py, and it doesn't run. I've searched both the user guide and the Wiki for "contour" and got zero hits. http://matplotlib.sourceforge.net/matplotlib.pylab.html#-contour appears to be a good reference if you already know how to use contour(), but I could glean zero clues from it on how to actually use contour(). For example, it doesn't explain what the actual formats/types of the parameters. It...
5
11915
by: John Henry | last post by:
I've been asking this question at the matplotlib user list and never gotten an answer. I am hoping that there are matplotlib users here that can help. My problem with matplotlib's way of handling axes label is illustrated by this example: http://www.scipy.org/Cookbook/Matplotlib/MulticoloredLine Notice that the y-axis goes from (-1.1, 1.1) but the first label is at
0
1936
by: Soren | last post by:
Hi, I'm trying to create a small GUI program where I can do plots using Matplotlib. I've been trying to borrow code from the examples at the matplotlib website, but I can't get it to work. I want to be able to create a wx.Panel that contains an axis for plotting. Around it i want other panels containing various settings, buttons etc. to control the plot. So far I can't even get the program to actually show a plot in a panel.
0
3403
by: Soren | last post by:
Hi, I've been trying to embed matplotlib in wxpython. I want to be able to put a figure (axes) in a wx.Panel and place it somewhere in my GUI. The GUI should have other panels with buttons etc. that can control the output on the figure. I've been looking at the examples from the matplotlib website, but can't seem to get it to work.. Does anyone here have experience in embedding matplotlib in wxpython?
4
3351
by: Bill Jackson | last post by:
Hi, I'm having some trouble plotting with the following matplotlibrc: text.usetex : True I tried clearing the cache files under ~/.matplotlib, but this did not help the problem. I'd post on the matplotlib mailing list, but I have a hard enough time browsing sourceforge's achives (frequent internal server errors). Here is some output:
4
9688
by: John Henry | last post by:
Has anybody been able to create an exe of their python applications involving matplotlib using pyinstall (ver 1.3)? I am getting a: RuntimeError: Could not find the matplotlib data files when I attempt to run the exe created. In searching the web, it appears this is an issue when others tried to use py2exe as well. Unfortunately, the few hits I saw doesn't include enough details to inspire me as to what I should be doing in my
0
8969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9266
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9209
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8215
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6754
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.