Arc brisé
%------------------------------------ % arc brisé % (c) JPaul Molina %------------------------------------ echo off; clear all; [x,z] = meshgrid(0. : 0.1 : 1., 0. : 0.1 : 1.); % equation y=z.^3+x.*z; % ScreenSize is a four-element vector: [left, bottom, width, height] scrsz = get(0,'ScreenSize'); % Figure position. % This property specifies the size and location on the screen of the figure window. % Specify the position rectangle with a four-element vector of the form % rect = [left, bottom, width, height] where left and bottom define the distance % from the lower left corner of the screen to the lower left corner of the figure window. % width and height define the dimensions of the window. % figure 1 figure('Position',[1 scrsz(4)/2 scrsz(3)/2-5 scrsz(4)/2]) mesh(y); % figure 2 figure('Position',[scrsz(3)/2 scrsz(4)/2 scrsz(3)/2-5 scrsz(4)/2]) surf(y);
Dernière Modification : Sam 25 Juin 2011 8:28
Copyright © 1999-2013 Jean-Paul Molina Tous droits réservés.