Borrar filtros
Borrar filtros

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

75 visualizaciones (últimos 30 días)
Marie Trang
Marie Trang el 28 de En. de 2023
Editada: Marie Trang el 28 de En. de 2023
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 comentarios
Walter Roberson
Walter Roberson el 28 de En. de 2023
I think it is a scrollable area.
Marie Trang
Marie Trang el 28 de En. de 2023
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.

Iniciar sesión para comentar.

Respuestas (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 28 de En. de 2023
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 comentario
Marie Trang
Marie Trang el 28 de En. de 2023
Editada: Marie Trang el 28 de En. de 2023
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by