필터 지우기
필터 지우기

move y and x label to the end of the label

조회 수: 2 (최근 30일)
Locks
Locks 2013년 3월 31일
per default the name for the x and y label are in the middle of the label itself, but I would like to see them at the end of the label.
is there any chance I could have an arrow at the end of the label?
how can I add a dotted line which goes through y=7 and has the same lenght as hte x-axis?
  댓글 수: 1
the cyclist
the cyclist 2013년 3월 31일
You seem to be asking three questions here. A better approach might have been to submit three separate questions.

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

채택된 답변

the cyclist
the cyclist 2013년 3월 31일
For the dotted line:
xlim = get(gca,'XLim');
h = line(xlim,[7 7]);
set(h,'LineStyle',':')
  댓글 수: 2
Locks
Locks 2013년 3월 31일
this is working pefectly
do you have any idea how to do the other two things?
the cyclist
the cyclist 2013년 3월 31일
I propose that the best way to get your answers (and to help others who search for similar answers later) is to
  1. delete the other two questions from this post
  2. create two new questions (where other people will see them more easily)
  3. accept my answer here, indicating that this question was resolved

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by