How do i set limits on the graph scale similar to colormap

조회 수: 2 (최근 30일)
N/A
N/A 2018년 10월 31일
답변: Guillaume 2018년 10월 31일
I currently have a code which runs the scale from the highest number to the lowest number in the matrix table given; How do i set the 'XTick' to a predetermined value say from 0-40
  댓글 수: 2
Guillaume
Guillaume 2018년 10월 31일
It seems you already know how to set the xticks to a set value, as per your code
set(axishandle, 'XTick', 0:40);
So it's really not clear what you're asking.
N/A
N/A 2018년 10월 31일
I was talking about the color map section; How do i set a predetermined scale for the color map say from 0-40 for every data i run?

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

답변 (1개)

Guillaume
Guillaume 2018년 10월 31일
You can set the colour map limit with caxis or by changing the clim property of the axis.

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by