error saving figure as .tiff

1 visualización (últimos 30 días)
Antonino
Antonino el 3 de Mzo. de 2024
Comentada: Antonino el 4 de Mzo. de 2024
Hello, when I try to save a figure with 300 dpi resolution I get the attached error message. Other figures of the same size and resolution contained in another folder are correctly saved as .tiff. Can anyone help me please? Many thanks.
Antonino

Respuesta aceptada

Austin M. Weber
Austin M. Weber el 4 de Mzo. de 2024
If you are using R2020a or later, try using the exportgraphics function:
fig = gcf;
exportgraphics(fig,'myFigure.tiff','Resolution',300) % .tif also works
  1 comentario
Antonino
Antonino el 4 de Mzo. de 2024
It seems to work, thank you very much.
Antonino

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Printing and Saving 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