Hi Folks,

I've been using Python about 9 months or so, inspired mainly by the desire
to work more effectively with Csound. Python has been a revelation to my
creativity & music making ambitions, & probably the most satisfying &
consuming creative diversion i have ever made.

Ive today installed Numpy & Matplotlib (on XP), & set TKagg as my backend in
the matplotlibrc file.

When i try & run the plot([1,2,3]) example (im working from the matplotlib
user guide pdf document, which generally looks very nice, much like
matplotlib itself dare i say..) a TK window opens, but nothing appears in
it, the hourglass continues ad infinitum, & the process eventually hangs.

This also happened when i ran IDLE from the command line (something i'd
never done before) with the -n flag...

Idle's window tells me that an output plot object was sucessfully created
however...

So, err, what could the problem be? I'm using standard windows binary
installers for everything, Python 2.5, Numpy 1.0.3.1, Matplotlib 0.91.2.
Everything imports ok.

On a less immediate note, i would like to address people to this post i made
earlier today on the Tkinter list

http://www.nabble.com/drawing-multiple-functions-on-the-canvas-td16064458.html

for some advice &/or assistance. Whilst i can see Matplotlib as being useful
to my DSP & musicmaking world in a number of adhoc ways, i'm primarily
interested in trying to find shortcuts & methods to defining "arbitrary"
functions with the mouse(/wacom) input, recording the x/y(/z) data into an
array, & refreshing / displaying that data to the screen. 

There seems to be plenty around to help me scribble on a canvas, but not in
a way that allows me to keep unique, "function" like, myfunc[x] = y lists &
display them to screen.

I've been aware for awhile now that Matplotlib may offer me some elegant &
more than adequate solutions to displaying mathematically defined functions,
but can it help me design by hand & output overlays of arbitrary xy patterns
& relationships at all? 

All i would need to do is then output my input created XY arrays / lists to
.txt file, & bring the data into my existing Python / Csound environment for
immediate & easy use. 

So if anyone has any advice on the simplest, lowlevel way i might go about
attempting this (with or without Matplotlib) that'd be ace. But essentially
i am talking about displaying & refreshing plots after all, right? so
hopefully this is a good place to start.

Spoilt for choice, swamped by info, uncertain how best to proceed.

many thanks

Tim

-----
*******************
www.phasetransitions.net
hermetic music * python * csound * possibly mindless ranting
various werk in perpetual delusions of progress....

-- 
View this message in context: 
http://www.nabble.com/Newbie---plot%28-1%2C2%2C3-%29-issues---Csound-tp16065553p16065553.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to