フィルターのクリア

How to display the field graph across the entire width of the screen?

8 ビュー (過去 30 日間)
Dan Richter
Dan Richter 2020 年 5 月 2 日
コメント済み: KH OSTE 2020 年 5 月 12 日
And not just a small ThingSpeek visualization graf on the computer screen.

採用された回答

Bob Johnson
Bob Johnson 2020 年 5 月 3 日
The attached html file calls data from Thingspeak and displays it on a webpage which you can resize.
The only line you need to change starts with '<iframe'
Change:
channels (currently 849131) - to yours
charts (currently 1) to your field number
api_key (currently staring FYJP.....)
results= (currently 300) to however many samples you need.
There are lots of other parameters you can play with. This is a brilliant facility as you can add more iframes for different field numbers and/or channels
Hope this helps
  2 件のコメント
Dan Richter
Dan Richter 2020 年 5 月 3 日
Thank you. I tried it and it works ;-). But this need manually change date and y axis range. I thought thingspeak.com can maximize the chart to full screen automaticaly.
Vinod
Vinod 2020 年 5 月 4 日
You can click the small icon on the individual window (looks like an arrow popping up and out of a window) to pop it out to its own tab. Then, edit the URL in the browser to specify the desired size of the window. Now you can bookmark this URL in your browser.

サインインしてコメントする。

その他の回答 (2 件)

Bob Johnson
Bob Johnson 2020 年 5 月 3 日
This feature is full of options. This is an extract from a system where I dynamically change the date/time to go back and forward in days.
Have now deleted "&start=2020-03-15 00:00:00&end=2020-03-16 00:00:00" and the axismin/axismax
Is this new one better? It now shows the last 300 readings. (My sampling is every 5 minutes so gives just over 24 hours) .
Hover over the last setting and you will see it is real time.

Image Analyst
Image Analyst 2020 年 5 月 2 日
hFig = figure; % Bring up new figure.
plot(x, y);
hFig.WindowState = 'maximized';
  3 件のコメント
Image Analyst
Image Analyst 2020 年 5 月 2 日
I don't know what that is. But if you plotted your data with plot() onto a figure, then my code should maximize the figure window.
KH OSTE
KH OSTE 2020 年 5 月 12 日
@ Image Analyst: Thank you, your 2 code lines
hFig = figure; % Bring up new figure
....
hFig.WindowState = 'maximized';
work - in a Matlab Visualization created under Thingspeak | Apps.
@ Dan: For the standard Thingseak plots, which are edited as shown in your screen shot, I haven't found any way to add any code.

サインインしてコメントする。

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeVisualize Data についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by