# plotting a feather plot for u and v component

조회 수: 7 (최근 30일)
Giulia . 2023년 6월 9일
댓글: Giulia . 2023년 6월 19일
Hi everyone.
How can I plot a figure similar to the example below, using the nctdf data attached?
The lon (longitude) and latitude represents a small area, it would be ideal to plot exactly the point within this area which is of the following coordinates:
exactlat = 53.75129
exactlon =-5.181839
Thank you in advance for the help! ##### 댓글 수: 2표시 이전 댓글 수: 1숨기기 이전 댓글 수: 1
Giulia 2023년 6월 12일
Yes I have tried it but somehow it comes out like that rather than with the arrows: 댓글을 달려면 로그인하십시오.

### 채택된 답변

If you zoom into your data, you'll see that you've got arrows.
figure();
tcl = tiledlayout(2,1);
nexttile()
feather(squeeze(u10(1,1,:)),squeeze(v10(1,1,:)))
title('full view')
nexttile()
feather(squeeze(u10(1,1,:)),squeeze(v10(1,1,:)))
xlim([ 176.83 316.27])
title('zoomed') Perhaps you could dow-sample your data. This example plot every 5th data point. Just consider the risks (clipping out important outliers or missing trends).
figure
idx = 1 : 5 : size(u10,3);
feather(squeeze(u10(1,1,idx)),squeeze(v10(1,1,idx))) ##### 댓글 수: 4표시 이전 댓글 수: 3숨기기 이전 댓글 수: 3
Giulia 2023년 6월 19일
thank you!!! :)

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!