Remove "Offset" caption from a Simulink graph

13 visualizaciones (últimos 30 días)
Nikolai Pakharev
Nikolai Pakharev el 14 de Dic. de 2020
Comentada: Fryderyk Kukowski el 15 de Dic. de 2023
I have updated MATLAB R2020b Update 2 (win64) to Update 3. I have a Simulink model with several Scope blocks. After I run a simulation, I double-click on one of these blocks to access a Simulink graph. Then I Copy to Clipboard the contents of this graph.
After I paste the copied image, the lower left corner of the inserted image looks like:
My question is, how can I remove this "Offset=0" caption? MATLAB R2020b Update 2 does not seem to put this caption on the copied images, but Update 3 does.
I tried to Print to Figure first and as you can see on the following screenshot this caption is present.
However, it is possible to Edit Plot to select the caption and remove it.
But I do not know how to save this edited Figure in the same (white-blue) colormap as graphs copied to clipboard have.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 14 de Dic. de 2020
  1. Must be something else. I have R2020b Update 3. I tried and it didn't have "Offset=0" text.
  2. Check MATLAB preference, figure copy template, although I don't see anything related.
  3. If print to figure, whitebg() might helpful to turn the background color to white.
  3 comentarios
润发 霍
润发 霍 el 22 de Feb. de 2022
I have met the same problem,and solved it in this way: First , print to figure and open the "PropertyInspector". Then,chose the item(offset = 0) you wanna delete. Finally,press Delete in your keyboard.
Fryderyk Kukowski
Fryderyk Kukowski el 15 de Dic. de 2023
I just wanted to point out that this problem is still present in Matlab 2023b Update 4 and that restarting Matlab did solve the issue.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by