Plotting a line using one point and a slope in the loglog scale
Afficher commentaires plus anciens
I am trying to plot a line in the loglog scale using a given point and a slope but the graph(attached) that I am getting is not correct. This is what I have tha gives me the graph attached.
x = (25081:1000:10000000);
m = -3.62;
x1 = log(25081);
y1 = log(3.046*10^-16);
y = m*(x-x1)+ y1;
loglog(x, y)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Log Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

