フィルターのクリア

Why won't my graph plot properly in the live script?

75 ビュー (過去 30 日間)
Marie Trang
Marie Trang 2023 年 1 月 28 日
編集済み: Marie Trang 2023 年 1 月 28 日
I've been trying to plot this for a while. I restarted my laptop twice and I've updated Matlab and restarted it a few times. I don't know what could be happening. When I graph from the command window, it looks fine, so not sure what's up. I've got a Macbook M1 if that helps with anything. This has never happened before.
  4 件のコメント
Walter Roberson
Walter Roberson 2023 年 1 月 28 日
I think it is a scrollable area.
Marie Trang
Marie Trang 2023 年 1 月 28 日
I tried that and unfortunately I can’t move around the plot. It’s just that portion displayed and it is stuck like that. I tried it on a brand new script also and the same result. I’m not sure if I need to uninstall and reinstall Matlab, but I noticed it only happens after I use the seqdotplot() formula because I opened a new live script and a regular plot([1:5],[1:5]) function came out normal, but as soon as I use seqdotplot(), it cuts to a corner of the plot and every plot after no matter if it’s the regular plot() function starts to plot only a corner and I can’t use the cursor to move around. This only happens in the application and Matlab Online works beautifully.

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

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 1 月 28 日
Your shown screenshot shows that you are viewing it in MLX- editor. If you hover your mouse over your plotted figure and click on the curved arrow ("Open in figure window") on the top left corner of the plotted figure in your MLX-file file, then full screen Figure will pop-up that should show your correct plot with all details.
  1 件のコメント
Marie Trang
Marie Trang 2023 年 1 月 28 日
編集済み: Marie Trang 2023 年 1 月 28 日
Yes, I did that, but the separate figure window screen looks exactly the same as what is depicted in the screen shot of the live script editor. I cannot scroll or alter the plot to show the entire thing and it only plots the corner. Again, this is when I run it through the live script. If I do this in the command line, the figure window and plot look fine. I attached a photo for clarity.

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

カテゴリ

Help Center および File ExchangeSpecifying Target for Graphics Output についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by