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

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?

0 Comments

Laura

Tags

Products

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.

set(0,'DefaultAxesNextPlot','add')

0 Comments

Sean de Wolski

Contact us