Clear Filters
Clear Filters

Plotting displacement field vector using quiver

2 views (last 30 days)
I have two displacement arrays x and y. How to plot displacement field using quiver option. Following is the code which I have used. I am not sure whether the code is correct.
x1=load('DISP_X.xvg'); y1=load('DISP_Y.xvg'); [X,Y]=meshgrid(x1,y1); quiver(X,Y)
Please help me. Thanks in advance.

Answers (0)

Categories

Find more on Vector Fields in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!