Plotting an image over a figure

3 ビュー (過去 30 日間)
Nikolaos Zafirakis
Nikolaos Zafirakis 2019 年 9 月 15 日
回答済み: Nadir Altinbas 2019 年 11 月 4 日
I'm trying to create a Ground track for a satellite
I'm facing two issues:
(1) My ground track makes a coonection at the end of the graph to the beginning to continue its plot line of the orbit. I would like to remove this line seen in the figure attached.
(2) I'm trying to insert a figure in the background to cover the plot created by c with a more high-quality image. Unfortunately, every attempt I've made has failed. Does anyone a way around this?
figure
xlim([-180 180]) % Set X limits
ylim([-90 90]) % Set Y limits
c = geoshow('landareas.shp', 'FaceColor', [0.7 1.0 0.5]); % Constructs a ground track
axis tight
hold on
plot(longitude,latitude,'r')
hold off
xticks([-180 -120 -60 0 60 120 180])
yticks([-90 -60 -30 0 30 60 90])
title('Satellite Ground Track')
xlabel('latitude (\circ)')
ylabel('Longitude (\circ)')
  1 件のコメント
Sai Bhargav Avula
Sai Bhargav Avula 2019 年 11 月 4 日
can you please elaborate more on the second part

サインインしてコメントする。

回答 (1 件)

Nadir Altinbas
Nadir Altinbas 2019 年 11 月 4 日
hold off
legend off curve chect it out delete commands pls....

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by