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. -- https://mail.python.org/mailman/listinfo/python-list