Problem with LineWidth on Matlab online: increasing the thickness makes part of the lines disappear

9 ビュー (過去 30 日間)
Emir
Emir 2023 年 1 月 20 日
移動済み: Adam Danz 2024 年 4 月 17 日
I'm having a weird response from plot in MATLAB online. Plotting data that have extrema using thick lines has a weird response on my browser. Take the following code:
v = [1, 2, 5, 10, 5, 2, 1]
plot(v, "Linewidth", 5)
The resulting image in the live notebook seems to have variable thickness, and only the line segments at the edges are visible. However, when I open a separate figure window, I can see the intended plot correctly. Here is a screenshot:
I'm using Ubuntu 22.04 with KDE. I tried both firefox and chromium and the weird behaviour is still there. On the standalone matlab application, the correct thickness can be shown, so it seems like this is a MATLAB online issue.
Am I doing something wrong? Are there any settings I need to tweak in order to get the right behaviour?
edited the example to make the issue more apparent.
  3 件のコメント
XIAO
XIAO 2023 年 5 月 25 日
移動済み: Adam Danz 2024 年 4 月 17 日
Also happens in Ubuntu 20.04 and Ubuntu 18.04 with Firefox 113.0.2.
Philip
Philip 2024 年 4 月 4 日
I have the same issue on EndeavourOS with Firefox and Chromium.

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

回答 (1 件)

Nehemiae
Nehemiae 2023 年 3 月 9 日
Hello,
Do have a look if your system meets the specifications for MATLAB Online (https://www.mathworks.com/support/requirements/browser-requirements.html) and ensure that JavaScript is enabled. If the issue persists, create a service request for the same (https://www.mathworks.com/support/contact_us.html?s_tid=hc_trail).

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by