Normalise data set in 2d plot
1 回表示 (過去 30 日間)
古いコメントを表示
I need to normalize the values in the y axis to be between -1 and 1. Im trying to non dimensionalise that data which is amplitude (m).
see in graph below how values range roughly from -0.5 to 0.5 how can i normalise this to range from -1 to 1 without skewing my data and keeping its accuracy?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/590357/image.jpeg)
0 件のコメント
回答 (1 件)
Divija Aleti
2021 年 4 月 23 日
Hi Tiernan,
After you finish plotting, you can specify the limits of y-axis by adding the following line of code:
ylim([-1 1])
Hope this helps!
Regards,
Divija
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!