[Pythonmac-SIG] Using SM2DGraphView (or any graphing utility)

Jacob Davis j.foster.davis at gmail.com
Sun Feb 24 00:01:29 CET 2008


Hi.

I am looking for help namely with SM2DGraphView, but if you know  
another package/utility that is easy to do basic line graphing/ 
plotting with, that would also help.

I am trying to get SM2DGraphView to work in an app I am making with  
Xcode and Interface Builder 3.0.  I don't know pyobjc at all really,  
and I am somewhat new to Interface Builder.

I have installed the framework and the palette.  I have an app that  
will show the graph, but I can't figure out how to get data from my  
python script into the data of the SM2DGraph.  I can't really  
understand SM2DGraphView's online documentation...  I understand that  
I need to implement some classes and methods, but I am almost  
completely lost.

This article on macresearch (http://www.macresearch.org/cocoa_for_scientists_part_xviii_graphing_data_with_sm2dgraphview 
) shows how to get SM2DGraphView to work using objc... if anybody can  
translate this so that I can just use python, that would be great.

Any help is appreciated.  Any push in the right direction is helpful!

Thanks in advance,

Jake


More information about the Pythonmac-SIG mailing list