sir i have data about east and north velocities in excel file,how can i plot velocity vectors using feather plot?

조회 수: 2 (최근 30일)
Julian Day's East velocity North velocity
267.6666667 -2.1 -2.9
267.6736111 -2.7 -3
267.6805556 -2.7 -1
267.6875 -2 -0.6
267.6944445 -2.1 -1.7
267.7013889 -2.3 -0.1
267.7083334 -1.1 0.7
267.7152778 -0.3 0.9
267.7222223 -2.3 1.5
267.7291667 -2.5 0.6
267.7361111 -3.4 1.1
267.7430556 -3.1 0.4
267.75 -2.5 0.4
267.7569445 -1.5 -0.4
267.7638889 -2.1 1.8
267.7708334 -1.7 1.4
267.7777778 -2.5 2.5
267.7847223 -1.7 0.5
267.7916667 -3.7 1.2
267.7986111 -3.5 0.7
267.8055556 -2 1
267.8125 -2.7 0.4
267.8194445 -1.3 1
267.8263889 -1.2 1.1
267.8333334 -1.6 0.2
267.8402778 -1.5 -0.8
267.8472223 -1.6 -0.5
267.8541667 -1.7 -0.9
267.8611111 -1.1 0.2
267.8680556 -0.9 0.3
267.875 -1.6 -1.7
267.8819445 -1.4 -0.7
267.8888889 -0.9 -1.8
267.8958334 -0.6 -0.7
267.9027778 -0.6 -1.3
267.9097223 0.8 -1.4
267.9166667 0.3 -0.4
267.9236111 -0.1 -1.4
267.9305556 1.1 0.4
267.9375 0.3 -1.8
267.9444445 0.3 -1.8
267.9513889 -0.3 -1.1
267.9583334 1.7 -1.7
267.9652778 -1.2 -2.4
267.9722223 0.5 -1
267.9791667 -0.5 -1.3
267.9861111 -0.3 -2.3
267.9930556 -0.1 -1.4
268 0.1 -1.6
268.0069445 -0.6 -0.4
268.0138889 0.7 -1.7
268.0208334 -0.1 -1
268.0277778 -0.1 -1
268.0347223 1.1 -2.1
268.0416667 0.9 -1.6
268.0486111 0.3 -1.1
268.0555556 0.3 -1.8
268.0625 0.6 -0.6
268.0694445 -0.1 -1
268.0763889 0.6 -1.2
268.0833334 0.4 -2.1
268.0902778 0.3 -1.3
268.0972223 1.1 -0.3
268.1041667 -1.2 -1.4
268.1111111 0.4 -0.9
268.1180556 0.1 -0.2
268.125 -2.1 -0.5
268.1319445 -1.6 0.4
268.1388889 -1.3 1.1
268.1458334 -1.8 1.7
268.1527778 -1.9 1.8
268.1597223 -3.2 1.1
268.1666667 -2.3 2
268.1736111 -4.8 1.8
268.1805556 -2.6 2.7
268.1875 -3.2 2.1
268.1944445 -2.4 1.1
268.2013889 -1.4 3.3
268.2083334 -0.9 2.2
268.2152778 -2.6 0.6
268.2222223 0.1 0.4
268.2291667 -2.1 1.1
268.2361111 -2 0.8
268.2430556 -2.3 1.2
268.25 -2.1 0.1
268.2569445 -1.7 0.4
268.2638889 -2 -1.1
268.2708334 -1.8 -0.4
268.2777778 -1.9 -2
268.2847223 -1.8 -0.8
268.2916667 -1.6 -1.8
268.2986111 -3.2 -2.5
268.3055556 -2.2 -1.4
268.3125 -2.3 -1.8
268.3194445 -1.5 -0.2
268.3263889 -2.3 -1.9
268.3333334 -1 0
268.3402778 -1.7 -1.6
268.3472223 -1.2 -0.3
268.3541667 -0.6 -0.4
268.3611111 -0.5 -0.3
268.3680556 -1.8 -0.8
268.375 -2 0.6
268.3819445 -1 0.7
268.3888889 -0.8 -0.9
268.3958334 -0.2 0
268.4027778 -0.5 -2.3
268.4097223 -0.7 -1.7
268.4166667 0.2 0.2
268.4236111 0.1 -0.4
268.4305556 -0.4 -1.2
268.4375 -0.3 -0.9
268.4444445 -1.5 -0.8
268.4513889 -0.7 -1
268.4583334 1.2 -1.3
268.4652778 0.9 0.1
268.4722223 2.5 0.5
268.4791667 1 0
268.4861111 1.2 -0.1
268.4930556 0.8 -0.3
268.5 1 -0.5
268.5069445 0.8 0
268.5138889 1 -1.3
268.5208334 1 0.9
268.5277778 2.2 -1.4
268.5347223 0.8 1
268.5416667 1.1 -0.6
268.5486111 1.2 0.3
268.5555556 1.1 -0.4
268.5625 0.1 0.1
268.5694445 2.1 -0.6
268.5763889 1.6 0.9
268.5833334 1.4 -0.1
268.5902778 0.3 1.3
268.5972223 -0.2 -0.7
268.6041667 -0.3 -0.2
268.6111111 0.1 0.5
268.6180556 0.2 0.4
268.625 -0.4 1.1
268.6319445 0.6 0.9
268.6388889 -0.4 0.5
268.6458334 -1.1 2.2
268.6527778 -2 0.5
268.6597223 -0.5 2.1
268.6666667 -1.4 1.1
268.6736111 -0.6 1.9
268.6805556 -0.9 2.7
268.6875 -1.5 1.8
268.6944445 -1.7 1.9
268.7013889 -0.9 1.4
268.7083334 -1.2 0.7
268.7152778 -0.8 1.1
268.7222223 -1 3
268.7291667 -1.3 1.9
268.7361111 -0.9 1.9
268.7430556 -0.6 1.4
268.75 -0.9 1.9
268.7569445 -1.6 1.2
268.7638889 -1.1 0.7
268.7708334 -2 1.6
268.7777778 -1.3 1
268.7847223 -2.5 1.4
268.7916667 -1.5 0.6
268.7986111 -1.6 0.9
268.8055556 -1.3 3.4
268.8125 -2.6 0.1
268.8194445 -3 -0.6
268.8263889 -2 0.5
268.8333334 -2.1 -0.1
268.8402778 -0.2 -0.1
268.8472223 -2.8 0.3
268.8541667 -2.4 -0.6
268.8611111 -2.7 -0.7
268.8680556 -3.4 -1.1
268.875 -2.5 -1.9
268.8819445 -1.8 -0.5
268.8888889 -3 -2.4
268.8958334 -1.1 -1.5
268.9027778 -1.2 -2.3
268.9097223 -1.8 -3.7
268.9166667 0 -2.7
268.9236111 -1 -2.4
268.9305556 -1.3 -2.8
268.9375 -1 -3
268.9444445 -0.1 -3
268.9513889 0.4 0
268.9583334 -0.5 -3.6
268.9652778 -0.4 -2.8
268.9722223 0.1 -1.9
268.9791667 -0.9 -2
268.9861111 0 -1.4
268.9930556 -1.6 -1.9
269 -0.6 -2
269.0069445 -0.8 -2.5
269.0138889 0.2 -2.6
269.0208334 -0.3 -1.5
269.0277778 -0.8 -2.4
269.0347223 -0.1 -2.6
269.0416667 -0.2 -1.4

답변 (1개)

SAI SRUJAN
SAI SRUJAN 2024년 7월 8일
Hi Kopparthi,
I understand that you are facing an issue in plotting the data about east and north velocities from excel file in a feather plot.
The 'readtable' function can be used to load the data into a table. Specific columns for Julian Day, East velocity, and North velocity are then extracted from the table. Assuming the Excel file has headers named 'JulianDay', 'EastVelocity', and 'NorthVelocity', these columns are accessed directly by their names.
Please go through the following code sample to proceed further, the 'feather' function is then used to create a feather plot, which visually represents the velocity vectors with East velocity on the x-axis and North velocity on the y-axis.
% Load data from Excel file
data = readtable('your_excel_file.xlsx');
julian_day = data.JulianDay;
east_velocity = data.EastVelocity;
north_velocity = data.NorthVelocity;
% Create a feather plot
figure;
feather(east_velocity, north_velocity);
title('Feather Plot of Velocity Vectors');
xlabel('East Velocity');
ylabel('North Velocity');
For a comprehensive understanding of the 'readtable' and 'feather' functions in MATLAB, please refer to the following documentation.
I hope this helps!

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by