Info
This question is closed. Reopen it to edit or answer.
how can I plot a vector 'g+' under a f(x) and 'r+' over f(x)
1 view (last 30 days)
Show older comments
I need to plot f(x)=x^3 and I also have a big vector that I have to plot in the same figure, but I need to plot everything in the vector red that is over the function f(x) and green if the element is under the function f(x). I know that vector./f is over the line if greater than 1 and under the line if smaller than 1. I have tried for lops but nothing works. What should I do?
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!