📄 picview.m
字号:
function []=picview(was)
% -----------------------------------------------------------------------------
% GPSLab - Display graphics
% -----------------------------------------------------------------------------
% Displaying the following graphics:
% (in brackets: value for the calling variable 'was')
%
% (1) GPS user segment
% (2) GPS satellite (BIIa) - launching preparations
% (3) GPS satellite (BIIa) - with solar panels unfolded
% (4) GPS satellite (BIIR) - components
% (5) GPS satellites Block I, Block II/IIa and Block IIR
% (7) prinziple of SPP and DGPS
% (0) How important is GPS ?
%
% (c) iapg 1999 zeb
% -----------------------------------------------------------------------------
figure(99);
subplot(1,1,1);
switch was
case 0
logo2=imread('isa.jpg','JPEG');
im_handle=image(logo2);
axis equal;
axis off;
clear logo2;
title('GPS ? Better visit a cinema ...')
case 1
logo2=imread('casioGPS.jpg','JPEG');
im_handle=image(logo2);
axis equal;
axis off;
clear logo2;
title('GPS in a watch')
case 2
logo2=imread('gpsher1.jpg','JPEG');
im_handle=image(logo2);
%axis equal;
axis off;
clear logo2;
title('GPS satellite (BIIa) - launching preparations')
case 3
logo2=imread('gpsher2.jpg','JPEG');
im_handle=image(logo2);
axis equal;
axis off;
clear logo2;
title('GPS Satellit (BIIa) - with solar panels unfolded')
case 4
logo2=imread('gpsb2r.jpg','JPEG');
im_handle=image(logo2);
axis equal;
axis off;
set(gca,'pos',[0 0 1 1]);
clear logo2;
%title('GPS Satellit (BIIR) - components')
case 5
logo2=imread('gpsalleb.jpg','JPEG');
im_handle=image(logo2);
axis equal;
axis off;
clear logo2;
title('GPS satellites Block I, Block II/IIa and Block IIR')
case 7
logo2=imread('spp_dgps.jpg','JPEG');
im_handle=image(logo2);
axis equal;
axis off;
set(gca,'pos',[0 0 1 1]);
clear logo2;
otherwise
warndlg(['unvalid variable: the value has to be ' ...
' 0,1,2,3,4,5 oder 6 sein !'], 'error while calling PICVIEW.M');
return;
end
% -----------------------------------------------------------------------------
% (c) iapg 1999 zeb
% -----------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -