Hold on function in plot

I want to plot one graph in my loop, but i keeps on giving me sperated plots, here's my code

Answers (1)

remove:
figure

5 Comments

It still gives me 4 different plots.
Stephan
Stephan on 28 Mar 2019
Edited: Stephan on 28 Mar 2019
to say more, we need to see more. especially the code and the needed data to execute the provided code. Screenshots and parts of Screenshots are not helpful.
I removed figure from the second plot, but it still gives me 4 different plots, and it interfers with the previous one
Stephan
Stephan on 28 Mar 2019
Edited: Stephan on 28 Mar 2019
i still see a figure command.

Sign in to comment.

Categories

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

Asked:

on 28 Mar 2019

Edited:

on 28 Mar 2019

Community Treasure Hunt

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

Start Hunting!