Displaying values in plot area
Robert
on 20 Jan 2026 at 8:21
Latest activity Edit by Christopher Stapels
about 20 hours ago
Is it possible to display a variable value within the ThingSpeak plot area?
2 Comments
Time DescendingUse a MATLAB Visualization and the text() function to add the number you want to the plot. You can add the visualization to your channel view. The built in ThingSpeak plots do not support adding a label like you asked, but there is also the numeric display widget that you can add yo you channel view.
x = linspace(0,pi,200);
y = sin(x);
figure
plot(x,y,'b','LineWidth',1.5)
xlabel('x')
ylabel('sin(x)')
title('sin(x) from 0 to \pi')
grid on
text(pi/2, 0.5, '17', 'HorizontalAlignment', 'center', 'VerticalAlignment', 'middle', 'FontSize', 18, 'FontWeight', 'bold')
I am not brilliant with ThingSpeak but if you don’t get any other answers please let me try to help. Please give a more detailed description of what you want, perhaps sketch it down on paper so we can see your goal?
Sign in to participate