필터 지우기
필터 지우기

What is the difference between hold on and hold all?

조회 수: 27 (최근 30일)
Seetha Rama Raju Sanapala
Seetha Rama Raju Sanapala 2015년 1월 18일
댓글: Michael 2016년 4월 11일
What is the difference between hold on and hold all?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 1월 18일
With the latest version of Matlab there is no difference, hold all will be removed in the futur
  댓글 수: 1
Michael
Michael 2016년 4월 11일
The new graphics system in R2014b removed the function of "hold on" and replaced it with the previous functionality of "hold all" which kept the previous lines and added with new colours. Admittedly the old syntax was misleading, but there is no direct replacement of the old command - it is easiest to explicitly state yourself what colour and linestyle you want in order to continue plotting with the last colour and linestyle. Still in R2016a the command line help is wrong - it seems to refer to the R2014a behaviour
>> help hold
hold Hold current graph
hold ON holds the current plot and all axis properties, including
the current color and linestyle, so that subsequent graphing commands
add to the existing graph without resetting the color and linestyle.|

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by