File:Stability region for Euler method.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(1,036 × 815 pixels, file size: 9 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description Stability region of the explicit Euler method.
Date (UTC)
Source self-made using Matlab (see source below)
Author Jitse Niesen

Licensing

[edit]
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Matlab code

[edit]
clf;
[X,Y] = meshgrid(linspace(-3,2), linspace(-2,2));
Z = X+Y*1i;
phi = 1+Z;
contourf(X,Y,1-abs(phi), [0 0], 'LineWidth', 1);
set(gca, 'FontSize', 20, 'CLim', [0 1]);
colormap([1 .5 .8; 0 0 0]);
hold on;
plot([-3 2], [0 0], '--k', 'LineWidth', 1);
plot([0 0], [-2 2], '--k', 'LineWidth', 1);
print -dpng 'euler_lsd_tmp.png';
system('convert -trim -bordercolor white -border 10 +repage euler_lsd_tmp.png euler_lsd.png');

.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:59, 7 June 2007Thumbnail for version as of 22:59, 7 June 20071,036 × 815 (9 KB)Jitse Niesen (talk | contribs){{Information |Description=Stability region of the explicit Euler method. |Source=self-made using Matlab (see source below) |Date=~~~~~ |Author= Jitse Niesen }}

There are no pages that use this file.