Display of values on Y axis

7 次查看(过去 30 天)
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
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.

请先登录,再进行评论。

更多回答(0 个)

社区

更多回答在  ThingSpeak Community

类别

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