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.

Answers (1)

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

Products

Release

R2025b

Tags

Asked:

on 1 Dec 2025

Answered:

on 1 Dec 2025

Community Treasure Hunt

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

Start Hunting!