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 commentaire

the cyclist
the cyclist le 20 Avr 2024
I don't realy understand the question. Can you post a small code example of what you mean?

Connectez-vous pour commenter.

 Réponse acceptée

Geoff Champion
Geoff Champion le 21 Avr 2024

0 votes

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 commentaires

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 le 23 Avr 2024
Thanks Christopher

Connectez-vous pour commenter.

Plus de réponses (0)

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by