From: Oz N. <na...@gm...> - 2008-07-16 20:34:49
|
I still get this error Traceback (most recent call last): File "yael.py", line 24, in <module> x = x.transpose() AttributeError: 'tuple' object has no attribute 'transpose' and one more thing I discovered. the Data points that are ploted are not temperature... this are the depth:distance coordinates. I am a lost case about reading tutorial at the moment. I am in a middle of a very intense course, and they expect us to do crazy stuff with matlab. so it's either that or solving with python. I'll do read it when I have time... I am mostly frustrated with documentation writers who write very nice tutorials describing how to plot completely unusfull graphs of spheres inside loops and a dolphin swimming in the middle. Come on, this is not what users need. I am talking about what many students feel. We need real tutorials, this why I wrote my own little tutorial here http://www.tabula0rasa.org/?p=21 but that's not enough. sorry about making so much fuss in the mailing list and crying my hearts out, but I thought since I know python it's worth trying this and not mathlab Oz On Wed, Jul 16, 2008 at 11:20 PM, John Hunter <jd...@gm...> wrote: > On Wed, Jul 16, 2008 at 3:18 PM, Oz Nahum <na...@gm...> wrote: > >>You can transpose your inputs. For numpy arrays: x = x.transpose() > > > > i wrote: > > for np arrays: x = x.transpose() > > > > but I still get a syntax error. > > umm.... that was english, not python. They python is > > x = x.transpose() > > I know you are anxious to get results fast, but I suggest taking a > deep breath and doing a little reading on the numpy and matplotlib > tutorials linked on theor respective websites.... > > JDH > |