save transparent .emf file from figure
    11 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Kenneth Kim
 el 24 de Mzo. de 2016
  
    
    
    
    
    Editada: Kenneth Kim
 el 17 de Mayo de 2016
            I'm using 2015b version and would like to save a transparent .emf file from Matlab plot. However, when I export .emf file, the background is white.(I know about copy options with transparency, however, want to save .fig files in a batch process and then save .emf files manually.) How can I sole this issue?
0 comentarios
Respuesta aceptada
  Richard Quist
    
 el 17 de Mayo de 2016
        Set the figure background Color to 'none' and the Inverthardcopy property to 'off' before calling the print command:
f = figure; 
plot(rand(4)); 
set(f, 'Color', 'none', 'Inverthardcopy', 'off'); 
print(f, '-dmeta', 'transparent.emf');
1 comentario
Más respuestas (0)
Ver también
Categorías
				Más información sobre Creating, Deleting, and Querying Graphics Objects 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!

