Hallo liebe Forumsgemeinde,
als blutiger Anfänger habe ich versucht folgendes kurzes Matlabscript,
x=(0:0.1:5);
w = 2;
s = 20;
zet = linspace(0.2,10,6);
figure(1)
for s=zet
n = 2-erf(x/(2*(w*s)^(1/2)));
plot(x,n)
hold on
xlabel('x');
ylabel('y')
end
in Pythoncode umzuwandeln.
# -*- coding ...
Die Suche ergab 1 Treffer
- Sonntag 10. Mai 2015, 19:46
- Forum: Wissenschaftliches Rechnen
- Thema: Mehrere Plots in einer Figure
- Antworten: 1
- Zugriffe: 4330