print with specified stylesheet and format in R2019b

5 visualizaciones (últimos 30 días)
Gaetano Pavone
Gaetano Pavone el 11 de Dic. de 2019
Comentada: Sahithi Kanumarlapudi el 17 de Dic. de 2019
I have a function createfigure.m which creates a figure. I would like to add the possibility of automatically save or print the figure with specific stylesheet named style1 in jpeg format. How can I do this?
  1 comentario
Walter Roberson
Walter Roberson el 17 de Dic. de 2019
As far as I know, the only possibility for printing with a style sheet is using the Report Generator.
However, if you use uifigure() then my understanding is that the underlying technology could potentially use a style sheet. I have not researched to find out if there is a way to attach your own style sheet.
"traditional" figures do not support style sheets except as possible with Report Generator.

Iniciar sesión para comentar.

Respuestas (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi el 17 de Dic. de 2019
‘print(filename,formattype)’ could be used to save or print a figure in the required format. So to automatically print the figure you can add this function to your ‘createfigure function. For more information on this function refer to the following link
  2 comentarios
Walter Roberson
Walter Roberson el 17 de Dic. de 2019
print() has no possibility of using a style sheet.
Sahithi Kanumarlapudi
Sahithi Kanumarlapudi el 17 de Dic. de 2019
I have missed the stylesheet requirement. Yes Report Generator would be the best option

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by