anyway to drag the colorbar to the desired location?

조회 수: 1 (최근 30일)
Yu Li
Yu Li 2018년 12월 9일
편집: Yu Li 2018년 12월 16일
is there anyway to drag the colorbar in a desired location, instead of enter the number to determine its location?

채택된 답변

Astha Singh
Astha Singh 2018년 12월 13일
If I am understanding correct, you want to manually drag the colorbar to some desired location on the generated figure.
To achieve this, open the 'Edit' drop-down menu from the toolbar present in the generated figure. Thereafter select the 'Axes Properties', the figure objects open in an editable view. Here you can click and drag both your plot and the colorbar.
There are also various command line options present which can position the colorbar as desired. Details about the same can be found under the 'Position' sub-section, at the following documentation link:
  댓글 수: 1
Yu Li
Yu Li 2018년 12월 16일
편집: Yu Li 2018년 12월 16일
Thank you very much.

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

추가 답변 (0개)


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


Community Treasure Hunt

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

Start Hunting!

Translated by