MATLAB Answers


adding data to plot 2012a vs 2011a

Asked by Laura
on 25 Jan 2013

Hey all, this might be a silly question, but I just upgraded from 2011a to 2012a, and I'm mightily annoyed by the figure UI. In 2011a, when I made a plot, I could right-click on the plot in plot edit mode, select 'Add data', and it would plot a new line on the existing graph. However, in 2012a, when I try the same sequence, it does not add the new data to the existing graph, but rather replaces the existing data on the graph. Is there a way to get around this?




No products are associated with this question.

1 Answer

Answer by Sean de Wolski
on 25 Jan 2013
 Accepted answer

It sounds like you want the 'NextPlot' property to be 'add' by default.



Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!