How to create a line from a curve in a log scale x-axis
3 次查看(过去 30 天)
显示 更早的评论
Hello, I'm doing a code that needs to find the intersection of 2 lines. The first line is with y constant (slope 0) and the second is created from the inglection point following the curbe as shown in the figure, with the 'o' points the inflection points already calculated. The problem is that the curbe is ploted in a x-scale and I don't know to create those curves and plot them like in the figure. Does anyone know how it could be made? thanks
0 个评论
回答(1 个)
Simon Allosserie
2021-3-2
If your question is how to plot a log scale, please use
set(gca, 'XScale', 'log') %make X axis logarithmic
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!