필터 지우기
필터 지우기

Help with exporting pcolorm with shading interp

조회 수: 3 (최근 30일)
Sandra
Sandra 2012년 3월 3일
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에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by