What is my curve going outside the range of the plot figure

4 views (last 30 days)
My plot is plotting beyond the scales of the plot.

Answers (1)

Star Strider
Star Strider on 27 Jul 2016
It is plotting the data you have. It you want to limit it to plot only a specific range, the easiest way is to use the axis function. A slightly more difficult way is to limit the actual data you plot.

Categories

Find more on Line Plots in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!