Archivo:Kampyle Eudoxus.png

Ver la imagen en su resolución original(622 × 1092 píxeles; tamaño de archivo: 13 kB; tipo MIME: image/png)

Resumen

Descripción Graph of Kampyle of Eudoxus
Fecha
Fuente Trabajo propio
Autor Donald Hosek
 
Este diagrama fue creado con MATLAB.

Licencia

Public domain Este trabajo ha sido liberado al dominio público por su autor, Donald Hosek. Esto aplica para todo el mundo.

En algunos países esto puede no ser legalmente factible; si ello ocurriese:
Donald Hosek otorga a cualquier persona el derecho de usar este trabajo para cualquier propósito, sin ningún tipo de condición, a menos que éstas sean requeridas por la ley.

Source code (MATLAB)

% Kampyle illustration

function main()

   % linewidth and font size
   lw= 6; 
   fs = 20;

% colors
   red=[0.867 0.06 0.14];
   blue = [0, 129, 205]/256;
   green = [0, 200,  70]/256;
   black = [0, 0, 0];
   white = 0.99*[1, 1, 1];


   N=500;  % number of points (don't make it big, code will be slow)

   Lx1 = -3; Lx2 = 3; Ly1 = -4; Ly2 = -Ly1;

   bd = 0.01;
   for i = 1:10

% Set up the plotting window
	  figure(1); clf; set(gca, 'fontsize', fs, 'linewidth', lw/4);
	  hold on; axis equal; grid on;
	  figure(2); clf; hold on; axis equal; axis off;
	  
	  [X, Y]=meshgrid(linspace(Lx1, Lx2, N), linspace(Ly1, Ly2, N));  
	  
	  x = X; y = Y;
	  a = 1;
	  Z = x.^4-(x.^2+y.^2);
	  
%  graph the curves using 'contour' in figure (2)
	  figure(2); [c, stuff] = contour(X, Y, Z, [0, 0]);
	  
%  extract the curves from c and graph them in figure(1) using 'plot'
%  need to do this kind of convoluted work since plot2svg can't save
%  the result of 'contour' but can save the result of 'plot'   

	  
	  [m, n] = size(c);
	  while n > 0
		 
		 l=c(2, 1);
		 x=c(1,2:(l+1));  y=c(2,2:(l+1)); % get x and y of contours
		 figure(1); plot(x, y, 'color', red, 'linewidth', lw/2);
		 
		 c = c(:, (l+2):n);
		 [m, n] = size(c);

		 Lx1 = min(Lx1, min(x) - bd); Lx2 = max(Lx2, max(x) + bd);
		 Ly1 = min(Ly1, min(y) - bd); Ly2 = max(Ly2, max(y) + bd);
	  end
	  
	  figure(1); axis equal; axis ([Lx1, Lx2, Ly1, Ly2]);
   end

   axis([-2.2 2.2 -4, 4]);
   saveas(gcf, 'Kampyle.eps', 'psc2')

Leyendas

Añade una explicación corta acerca de lo que representa este archivo

Elementos representados en este archivo

representa a

Historial del archivo

Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.

Fecha y horaMiniaturaDimensionesUsuarioComentario
actual05:46 19 abr 2017Miniatura de la versión del 05:46 19 abr 2017622 × 1092 (13 kB)Ayane m61% file size reduction
05:21 14 jul 2007Miniatura de la versión del 05:21 14 jul 2007622 × 1092 (34 kB)Oleg Alexandrovtweak, same license
00:34 15 jun 2007Miniatura de la versión del 00:34 15 jun 20071305 × 913 (53 kB)Donald Hosek{{Information |Description=Graph of Kampyle of Eudoxus |Source=self-made |Date=14 June 2007 |Author= Donald Hosek }}

Las siguientes páginas usan este archivo:

Uso global del archivo