adding data to plot 2012a vs 2011a

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?

 채택된 답변

Sean de Wolski
Sean de Wolski 2013년 1월 25일

1 개 추천

It sounds like you want the 'NextPlot' property to be 'add' by default.
set(0,'DefaultAxesNextPlot','add')

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

태그

질문:

2013년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by