Loglog plot with data value = 0
10 ビュー (過去 30 日間)
古いコメントを表示
How to plot the data below:
x = [10^-1,10^-2,10^-3,10^-4,10^-5,10^-6,10^-7];
y = [ 0, 10^5, 10^6, 10^7,10^9,10^10,10^13];
loglog(x,y,'ko','MarkerFaceColor','k')
The first y data is not plotted.......
Can anyone help?
0 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 4 月 15 日
0 = 10^{-Inf}
So the 0 will appear at -infinity in the plot. MATLAB can only display finite axis.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!