Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90136

Re: Matlab to Python problem

From Peter Otten <__peter__@web.de>
Subject Re: Matlab to Python problem
Date 2015-05-08 12:39 +0200
Organization None
References <CAPphnGMJjAeKOMdRKOwxmK0wyv-GAUwJzqeiVZ9-n+v7JE4xMA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.230.1431081552.12865.python-list@python.org> (permalink)

Show all headers | View raw


Lesego Moloko wrote:

> I am a Python novice and have recently converted the attached Matlab file
> to Python (attached). The problem is that I cannot reproduce the Matlab
> plots (attached) with the converted Python program. I am also trying to go
> line by line through my converted Python file to see where the problem
> could be.
> 
> I attached:
> 
>    1. Matlab plots (5_p3.png and 4_p3.png)
>    2. The Matlab file (test.m)
>    3. Converted Python file (test.py)
>    4. data files (a2_all_out_P3.dat and t4_all_out.dat)
> 
> You advise and assistance would be highly appreciated.
> Regards

Your chance of getting help is higher with a smaller piece of code inlined 
in the text of your post and a description of the problem that is more 
concrete.

> I am also trying to go
> line by line through my converted Python file to see where the problem
> could be.

Once you have located the problem you might follow up here or on the 
matplotlib mailing list.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Matlab to Python problem Peter Otten <__peter__@web.de> - 2015-05-08 12:39 +0200

csiph-web