Plotting 2 different figures but MATLAB outputting same plot.
1 view (last 30 days)
Jon on 29 Jun 2022
Edited: Jon on 29 Jun 2022
Are you sure that you aren't getting an error in your code after the first plot is made?
Check the command window for errors.
For further help please provide a self contained example that replicates the problem. Your current code doesn't define A or z so I can't actually run it to see what goes wrong.