Help with exporting pcolorm with shading interp

4 次查看(过去 30 天)
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

采纳的回答

bym
bym 2012-3-3
  • Use the most popular file on the file exchange export_fig
  • Use the zbuffer renderer
  2 个评论
Sandra
Sandra 2012-3-4
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 2012-3-6
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

请先登录,再进行评论。

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by