0

Google Earth 画像にオーバーレイされた計算されたレベルを出力する次のコードがあります。

im = imread('googleEarthImage.png');

figure
imagesc(lon,fliplr(lat),im);  set(gca, 'YDir', 'normal');
hold on
pcolor(lon,lat,level); shading flat; axis([min(lon) max(lon) min(lat) max(lat)]);

% Save figure
set(gcf,'InvertHardcopy','on');
set(gcf,'PaperUnits','inches','PaperPosition',[0 0 6 5])
print('level','-dpng','-r300');

コードの問題は、印刷された画像に背景の Google Earth 画像が含まれないことです。Google Earth の画像は白い背景に置き換えられます。ただし、削除すると

axis([min(lon) max(lon) min(lat) max(lat)]);

バックグラウンドでGoogle Earth画像を使用して計算されたレベルを取得しますが、軸()を使用できないためズームアウトされています。正しい方向への助けは大歓迎です。ありがとう

4

0 に答える 0