How to put lines with pre-defined slopes on a plot
Mostrar comentarios más antiguos
Hi all. I want to put lines with pre-defined slopes (i.e. between 0.85 and 1.15) onto a matlab plots. Any help is much appreciated.Thanks

3 comentarios
Jan
el 29 de Abr. de 2021
What exactly is your question? Draw the lines with the line() command.
Qaisar Latif
el 30 de Abr. de 2021
Mathieu NOE
el 30 de Abr. de 2021
hello
you simply have to compute the derivative of your data (gradient )and search the points where the slope reaches the two targeted values
it's then fairly simple to draw a portion of line knowing the x and y coordinates and the slope
Respuestas (0)
Categorías
Más información sobre Line Plots 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!