How to create a line from a curve in a log scale x-axis

2 ビュー (過去 30 日間)
Lluis Montell de Jesus
Lluis Montell de Jesus 2021 年 3 月 2 日
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

回答 (1 件)

Simon Allosserie
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
  1 件のコメント
Lluis Montell de Jesus
Lluis Montell de Jesus 2021 年 3 月 2 日
No, I mean when I plot the cruve in a log scale I have the shape of this graph. I want to calculate the black line that is tangent of the cruve in the log scale considering that of course I have the points of the blue curve and the point that I want the line passes.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLog Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by