I want to combine these two plots so they are placed sequentially in a bigger graph spanning -2 to 2. everything i try alters the data the plots show which i want to avoid.

29 views (last 30 days)

Answers (1)

Image Analyst
Image Analyst on 1 Dec 2025 at 4:17
Try putting
hold on
before you call plot. Then I think both the fplot curve and the plot curve should show up on the same axes.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!