フィルターのクリア

SUPERIMPOSING and SCALE SHOWING problems Using m_map toolbox in MATLAB r2013b:

3 ビュー (過去 30 日間)
Ahmed Harun-Al-Rashid
Ahmed Harun-Al-Rashid 2016 年 10 月 13 日
編集済み: Ahmed Harun-Al-Rashid 2016 年 10 月 13 日
1. I need to show the SCALE for wind speed as a legend, or on land.
2. I want to remove the quiver arrows from land, and show land by a colour other than that of quiver. I tried to superimpose image, but only the final image is being saved, looks like the “hold on” & “hold off” commands are not suitable.
The mat files are attached herewith, and codes are as follows:
I = 10; % Interval to plot quiver
%%%Loading mat files of Lon, Lat, mean_U, mean_V
s = what; %look in current directory
matfiles=s.mat;
for a=1:numel(matfiles)
load(char(matfiles(a)))
end
m_proj('miller cylindrical','lon',[119 127 ],'lat',[32.1 40])
figure;
h = m_quiver(Lon(1:I:end, 1:I:end), Lat(1:I:end, 1:I:end), mean_U(1:I:end,1:I:end), mean_V(1:I:end, 1:I:end), 1, 'FaceColor','r'); % red arrows
shading flat
m_gshhs_f('patch','b'); % LAND MASK in blue
m_gshhs_f('color','k'); % COASTLINE in black
m_grid('box','fancy', 'lines','--');
set(gcf,'PaperPositionMode','auto');
hold on
% same quiver field with visibility off
set(h, 'Visible', 'off')
hold off
print( '-dtiff','-r300', 'Mean sea surface wind.tiff');
I am requesting for your kind help.
Sincerely, Rashid
  2 件のコメント
KSSV
KSSV 2016 年 10 月 13 日
Where are mat files?
Ahmed Harun-Al-Rashid
Ahmed Harun-Al-Rashid 2016 年 10 月 13 日
編集済み: Ahmed Harun-Al-Rashid 2016 年 10 月 13 日
Dear Dr. Siva Srinivas Kolukula,
The 4 mat files (Lat.mat, Lon.mat, mean_U.mat, mean_V.mat) are attached at the end of my query for downloading.
Thanks a lot. Could you help me please solving the problems.
Sincerely yours,
Rashid

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by