convert .fig to .jpg based on the ROI

1 visualización (últimos 30 días)
Tulips
Tulips el 7 de Jun. de 2012
Hi Sir, can I know how to save the .fig from matlab window to .jpg based on the desired result.this the image that I mentioned: http://www.flickr.com/photos/80166922@N06/7347715732/in/photostream
As u can see from the image, there is white area in the backgeound but I do not want the white are.Just want the region of interest (I mean the circular sign only). how should I eliminate the white background so that I can save it as .jpg for the ROI only. FYI, I save the image from .fig to .jpg in my current directory

Respuesta aceptada

Oliver Woodford
Oliver Woodford el 7 de Jun. de 2012
Export_fig automatically crops whitespace around figures by default. Download the files to somewhere on your MATLAB path, then, with the relevant figure open, call:
export_fig specific_directory/test.jpg -a1
  10 comentarios
Oliver Woodford
Oliver Woodford el 8 de Jun. de 2012
See my updated answer.
Tulips
Tulips el 9 de Jun. de 2012
what's the meaning of -a1

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by