close all;

figure ('position', [50, 300, 600, 200], 'menu', 'none');
hax = axes ();
[xx, yy] = meshgrid (linspace (-8, 8, 41));
r = sqrt ((xx).^2 + (yy).^2);
zz =  sin (r) ./ r;
surf (xx, yy, zz, 'edgecolor', 'none');
set (gcf, 'color', 'c');
view (2);
daspect ([0.75, 1, 1]);

set (hax, 'units', 'pixels');
pos = get (hax, 'position');
pos(1) = 2*pos(1);
set (hax, 'position', pos);

hcb = colorbar('southoutside');

figure ('position', [50, 50, 600, 200], 'menu', 'none');
hax = axes ();
[xx, yy] = meshgrid (linspace (-8, 8, 41));
r = sqrt ((xx).^2 + (yy).^2);
zz =  sin (r) ./ r;
surf (xx, yy, zz, 'edgecolor', 'none');
set (gcf, 'color', 'c');
view (2);
daspect ([0.75, 1, 1]);

set (hax, 'units', 'pixels');
pos = get (hax, 'position');
pos(1) = 2*pos(1);
set (hax, 'position', pos);

hcb = colorbar('northoutside');


figure ('position', [50, 550, 600, 200], 'menu', 'none');
hax = axes ();
[xx, yy] = meshgrid (linspace (-8, 8, 41));
r = sqrt ((xx).^2 + (yy).^2);
zz =  sin (r) ./ r;
surf (xx, yy, zz, 'edgecolor', 'none');
set (gcf, 'color', 'c');
view (2);
daspect ([0.75, 1, 1]);

set (hax, 'units', 'pixels');
pos = get (hax, 'position');
pos(1) = 2*pos(1);
set (hax, 'position', pos);

hcb = colorbar('westoutside');

figure ('position', [50, 800, 600, 200], 'menu', 'none');
hax = axes ();
[xx, yy] = meshgrid (linspace (-8, 8, 41));
r = sqrt ((xx).^2 + (yy).^2);
zz =  sin (r) ./ r;
surf (xx, yy, zz, 'edgecolor', 'none');
set (gcf, 'color', 'c');
view (2);
daspect ([0.75, 1, 1]);

set (hax, 'units', 'pixels');
pos = get (hax, 'position');
pos(1) = 2*pos(1);
set (hax, 'position', pos);

hcb = colorbar('eastoutside');

figure;

hax = axes ();
[xx, yy] = meshgrid (linspace (-8, 8, 41));
r = sqrt ((xx).^2 + (yy).^2);
zz =  sin (r) ./ r;
surf (1.5*xx, yy, zz, 'edgecolor', 'none');
daspect ([1, 1, 1]);
axis ('equal', 'on');
view (2);
set (hax, 'units', 'pixels');
pos = get (hax, 'position');

hcb = colorbar('westoutside');

