Display of values on Y axis

조회 수: 7 (최근 30일)
Geoff Champion
Geoff Champion 2024년 4월 20일
댓글: Geoff Champion 2024년 4월 23일
When varying data is displayed on a chart the Y axis displays value lines. If all the data in a given chart window is the same then no Y value is shown. Can this be changed please?
  댓글 수: 1
the cyclist
the cyclist 2024년 4월 20일
I don't realy understand the question. Can you post a small code example of what you mean?

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

채택된 답변

Geoff Champion
Geoff Champion 2024년 4월 21일
I have attached a pdf of the charts. I am logging the position of a gps sensor. Because the sensor is stationary, the top four charts show the same value for all data points and do not show a value caption on the left. The bottom two charts show varying data (eg. time) and do show value captions on the left or Y axis.
If the sensor moves, the top four charts will show varying data and will then show value captions.
I would prefer to have value captions under all conditions.
  댓글 수: 2
Christopher Stapels
Christopher Stapels 2024년 4월 22일
If you set y-axis min to 0 or y=axis max to some number, you can force an axis to appear in the field charts on your channel.
You can also consider using a custom visualization. MATLAB plots do not have the same behaviour as the high charts.
i.e. this code
x=[1,1,1,1,1,1];
plot(x);
still provides a plot with an axis.
Geoff Champion
Geoff Champion 2024년 4월 23일
Thanks Christopher

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

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by