matplotlib

According to what you wrote, you did everything correct.

    > Many people run matplotlib under a variety of Microsoft
    > environments, so you shouldn't have much trouble. My guess
    > is that the PATH is not properly set. Which dir did you
    > install the GTK runtime in? By default, I believe, it goes
    > into a dir with spaces in the name, which are difficult to
    > handle correctly in the PATH. For this reason, I always
    > install the GTK runtime into C:\GTK and then add C:\GTK\lib
    > and c:\GTK\bin to my PATH.

    > Hi John, Thanks for getting back to me. I tried to start
    > from scratch and got the same results. My path variable
    > is set as follows: Path=c:\oracle\ora81\bin\;c:\Program
    > Files\Oracle\jre\1.1.7\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT
    > \System32\Wbem;d:\matlab6p5\bin\win32;d:\matlab\bin\win32;D:\Tcl\bin;c:\Program
    > Files\ssh communicat ions security\ssh Secure
    > Shell;c:\oracle\ora81\bin\;c:\Program
    > Files\Oracle\jre\1.1.7\bin\;C:\WINNT\
    > system32;C:\WINNT;C:\WINNT\System32\Wbem;d:\matlab6p5\bin\win32;d:\matlab\bin\win32;d:\Modeltech_5.5
    > e\win32;d:\bin;d:\gnuwin32\b18\H-i386-cygwin32\bin;d:\PkZip;d:\Python23;C:\GTK\lib;C:\GTK\bin

I still wonder if there is a problem because of all those paths that
have spaces (eg, all those with "Program File" in them before the GTK
path entry.) For example, when I open a 'command' shell in windows XP
and do

  C:> set

to display my PATH, all the Program File entries are listed as

  C:\progra~1\somepath

with no spaces. When you do the same from the command shell, are any
spaces listed?

Please try the following. Open a command shell with
Start menu->Run->command ENTER

C:> set PATH=C:\GTK\bin;C:\GTK\lib
C:> d:\python23\python

import pygtk
pygtk.require('2.0')
import gobject

and tell me what happens. I that works, the odds are that you have a
PATH problem. If not, its something else. If it does work, try

from matplotlib.matlab import *
plot([1,2,3,])
show()

    > Are are either of these the correct file for gobject? Or
    > is gobject found some place else?

This looks good; I do have one additional gobject file, however,

  C:\Python23\Include\pygtk-2.0\pygobject

    > If you think it is better I wait for the next rev of
    > matlibplot, I can wait. Nonetheless, I would love to use
    > your library as soon as possible.

The problem is that this is most likely not intrinsic to matplotlib,
but to your GTK settings. So you'll likely have the same problems in
the next release. There are many win32 users so don't despair, this
should be a relatively easy fix. Perhaps someone on the users list
has some input?

JDH