MATLAB Answers

making of Quiver Plots

2 views (last 30 days)
Joydeb Saha
Joydeb Saha on 29 Apr 2021
Edited: VBBV on 29 Apr 2021
My matrices are,
new_lon1 = 1440X1
lat1 = 721X1
U = 1X 721 X 1440
V = 1X 721 X 1440
I tried the making quiver plot by this command:
Showing error
  1 Comment
Jonas on 29 Apr 2021
your prblem is the dimension of U and V, they should be 721 x 1440, your 2D array goes along the 3rd dimension

Sign in to comment.

Accepted Answer

VBBV on 29 Apr 2021
Edited: VBBV on 29 Apr 2021
%f true
Need to be same size as X and Y
VBBV on 29 Apr 2021
%f true
[X Y] = meshgrid(linspace(min(lat1),max(lat1),length(lat1)),linspace(min(new_lon1),max(new_lon1),length(new_lon1)))
%f true
Try this

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by