Help with exporting pcolorm with shading interp

4 visualizaciones (últimos 30 días)
Sandra
Sandra el 3 de Mzo. de 2012
I created pcolorm maps with interpolated shading. When I try to export this figure and save it as eps (or any other format) it fails to create it (I end up with a full on black figure). When I change the shading to flat or faceted I can export the figure. Any idea how I can still export the interpolated figures, they look so much nicer...
Any help is appreciated Thanks Sandra

Respuesta aceptada

bym
bym el 3 de Mzo. de 2012
  • Use the most popular file on the file exchange export_fig
  • Use the zbuffer renderer
  2 comentarios
Sandra
Sandra el 4 de Mzo. de 2012
Hi Proescm,
Thanks for your answer. I already tried using that file, but I couldn't get the pfdtops to work so I tried the exportfig m.file. Which keeps giving me this error:
??? Error using ==> exportfig at 743
Error using ==> get
Invalid handle
This is just the final error message when there was a problem in the function, but I don't know where the problem occurred.
Any other ideas?
thanks so much any help is appreciated
bym
bym el 6 de Mzo. de 2012
you might try contacting the author or try this:
in the figure window go to file>export setup
go to 'rendering' and choose custom renderer (zbuffer) in drop down box. Select apply to figure. Then select export and choose your export format.
It seemed to work for me using tiff files (I don't have a good way of checking PS or EPS files

Iniciar sesión para comentar.

Más respuestas (1)

Oliver Woodford
Oliver Woodford el 8 de Mzo. de 2012
If possible, use uimagesc instead of pcolorm. It will allow you to export the figure using the painters renderer.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by