Inaccuracy in a loglog(...) plot, compared to a standard plot(...)
Mostra commenti meno recenti
Hello,
I have this wierd problem, or I might just be missing something. I have 2 points and I'm trying to interpolate linearly between them. I used a very simple linear interpolation formula, and got the result 2.3672... I confirmed this using an online calculator. However, when plotting the intersection using loglog(...) it seems that the result is around 2.3686... Plotting using the standard plot(...) gives the first, calculated, result. When reading the values of the graphs im zooming very far in, so there is no chance that I misread the values.
I could post the code, but I think the answer has something to do with Matlab's behaviour and not my code. Also I tried using set(gca, 'XScale', 'log', 'YScale', 'log') instead of loglog, still the same results.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Schedule Model Components in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!