Borrar filtros
Borrar filtros

save a plot

5 visualizaciones (últimos 30 días)
azarm
azarm el 17 de Ag. de 2011
Hi Hi,
i have a problem with saving a plot in a directory as a figure(.tif). I have a main function. Each time i run my code, the code reaches a directory, takes image sequence and make some outputs. What i need to do, is to save some output plots in a directory. I know how to save a figure, but it does not work for plots! (specially i have a figure with hold on and i make plot inside the figure and want to save it!)
Thanks,
Azi
  2 comentarios
Oliver Woodford
Oliver Woodford el 17 de Ag. de 2011
It isn't clear to me what you are asking. Can you include code for a very simple example?
azarm
azarm el 17 de Ag. de 2011
i meant : print('-dtiff','plot.tif')

Iniciar sesión para comentar.

Respuesta aceptada

the cyclist
the cyclist el 17 de Ag. de 2011
Does this work for you?
plot(1:10)
print('-dtiff','plot.tif')
  7 comentarios
azarm
azarm el 17 de Ag. de 2011
you're right! It works.
Tnx for your help
pedro rivera
pedro rivera el 1 de Abr. de 2013
your answer works, thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing 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