필터 지우기
필터 지우기

change axis of a plot

조회 수: 2 (최근 30일)
joo
joo 2012년 11월 17일
does anyone know how to do broken axis* ( 0--//---- ) and also how to obligate matlab automatically to write final x value and final y value in the plots i obtain?
*this plot is simply obtained with xy data obtained in laboratory.
thank you very much

채택된 답변

Daniel Shub
Daniel Shub 2012년 11월 23일
There are a number of good reasons to avoid these breaks, and often there are good alternatives.

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 17일
편집: Azzi Abdelmalek 2012년 11월 17일
set(gca,'xtick',linspace(min(x),max(x),7),'ytick',linspace(min(y),max(y),7))
what do you mean by : how to do broken axis
  댓글 수: 6
joo
joo 2012년 11월 17일
to plot correctly a curve the axis should be like that...
Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 17일
편집: Azzi Abdelmalek 2012년 11월 23일
You can add two line manually with figure editor

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

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by