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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!