MATLAB visualizations on ThingSpeak appear distorted and low-resolution when accessed via the public URL, despite rendering correctly when run manually

7 次查看(过去 30 天)
Over the past few days, I’ve observed that MATLAB visualizations on ThingSpeak are not rendering correctly when accessed via the public URL. When I run the MATLAB Visualization script manually within ThingSpeak, the resulting image has the correct resolution and aspect ratios. However, accessing the same visualization through the public URL generates a much smaller image with distorted proportions.
The script itself hasn’t been modified for a long time, and this issue has only started occurring recently. Could this be related to a recent change in the rendering engine or visualization settings on ThingSpeak?
I would appreciate any guidance or insight into what might be causing this discrepancy.
Thank you!
correct
  3 个评论
Mi He2
Mi He2 2025-5-18
When I opened this link, the page with the graph displayed normally according to the resolution set in the script… see the images above.

请先登录,再进行评论。

回答(2 个)

Vinod
Vinod 2025-5-18
移动:Walter Roberson 2025-5-18
I suspect what you're seeing is dependent on your browser window size and screen resolution. If you are embedding the graphic on your webpage, you may want to consider adding the height and width paramter to the visualization. For example:
  1 个评论
Mi He2
Mi He2 2025-5-18
移动:Walter Roberson 2025-5-18
You're a magician! The aspect ratio wasn't perfectly preserved — some text objects are slightly out of place — but it's OK. Still, I keep wondering why it suddenly stopped working... Thank you! M.

请先登录,再进行评论。


Sulaymon Eshkabilov
It is not low resolution but it is because of the axis scale and window size in the public version display as indicated by Vinod. If one looks at both graphs, he/she will see that in the grash displayed in the MATLAB environment, x-axis is zoomed in. Besides, the top two graphs are not captured at the same time.

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by