how to plot normalized column vs another colomn
1 回表示 (過去 30 日間)
古いコメントを表示
hello matlab community, i have column such as i=1.0e+03 *[
-0.0186
-0.0386
-0.0828
-0.2184
-0.6429
-1.7906
-2.4046
-2.3125
-2.0287
-1.6919
-1.4576
-1.2357
-1.0298
-0.8806
-0.7282
-0.6215
-0.5139
-0.4438
-0.3678
-0.2828
-0.1909
-0.0873
0.0044
0.1253
0.2889
0.4730
0.6821
0.9877
1.3166
1.7460
2.3511
3.0306
4.0117
5.1284]
i want to plot i./imax vs another column like in the following picture, i don't know if i need to pick every element of the i column or just fex elements.
thank you.
0 件のコメント
回答 (1 件)
Joseph Cheng
2017 年 4 月 7 日
編集済み: Joseph Cheng
2017 年 4 月 7 日
must be missing something as you have it right there
plot("your other column",i./max(i),'.')
then you'd fit a line and error bars? not sure how or what data you'll be using to calc the error bars and the smooth curve
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!