Jop,
hab gemerkt das ich da nen Fehler hatte! nun hab ich das nochmals geändert und siehe da! es karm was! nur nicht wie gewünscht!
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
from pylab import *
fig = plt.figure()
ax = fig.add_subplot(111 ...
Die Suche ergab 3 Treffer
- Montag 30. Juni 2014, 17:21
- Forum: Python mit anderen Sprachen verwenden
- Thema: von Matlab nach Python
- Antworten: 6
- Zugriffe: 5868
- Montag 30. Juni 2014, 16:04
- Forum: Python mit anderen Sprachen verwenden
- Thema: von Matlab nach Python
- Antworten: 6
- Zugriffe: 5868
Re: von Matlab nach Python
HEy!
Ja sorry!
ne ich wollte eigentlich den Matlab-Code in einem Python-code umwandeln! Der Pythoncode ist schon mein erster Versuch! Jedoch kommt der Fehler : line 16, in <module>
[0.2843,0.1515,0.04867]
TypeError: list indices must be integers, not tuple
Es soll ein 3D Oberflächendiagramm ...
Ja sorry!
ne ich wollte eigentlich den Matlab-Code in einem Python-code umwandeln! Der Pythoncode ist schon mein erster Versuch! Jedoch kommt der Fehler : line 16, in <module>
[0.2843,0.1515,0.04867]
TypeError: list indices must be integers, not tuple
Es soll ein 3D Oberflächendiagramm ...
- Montag 30. Juni 2014, 15:27
- Forum: Python mit anderen Sprachen verwenden
- Thema: von Matlab nach Python
- Antworten: 6
- Zugriffe: 5868
von Matlab nach Python
Hey leude!
ich hab da nen Problem! ich hab da nen Matlab code und den möchte ich gerne in Python haben! Komm aber nicht weiter! Könnt ihr mir helfen?
mein mom. Programm:
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
from pylab import *
fig = plt ...
ich hab da nen Problem! ich hab da nen Matlab code und den möchte ich gerne in Python haben! Komm aber nicht weiter! Könnt ihr mir helfen?
mein mom. Programm:
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
from pylab import *
fig = plt ...