Adding log-linear trend to scatterplot
Mostrar comentarios más antiguos
Hi. I am trying to add a log-linear trend to a scatterplot with log y axis, but I cant seem to figure out how to do it. It is a very simple plot like this:
>> scatter(data1,data2)
>> set(gca, 'yScale', 'log')
Any suggestions on how to add a log-linear trend? Thanks in advan[c]e.
IR
2 comentarios
Star Strider
el 1 de Oct. de 2016
Please describe what you mean by ‘a log-linear trend’.
Your code sets the y-axis to a logarithmic scale.
Ida Rosendahl
el 1 de Oct. de 2016
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Regression en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!