Saving figure to Pdf... problems with 'visible','off'

3 次查看(过去 30 天)
Hey all,
Have a look at the below images. One is printed with the figure's handle 'visible','off', and the other 'visible','on'. I'd prefer the visible off option, but as you can see, some of my controls appears very distorted. I'm wondering if anyone has come across this before. Please note, I'm not referring to the "analysis results", that was blurred out due to confidentiality reasons. I'm referring to the controls with strings: "OCC: Decay Analysis", "Filter Type", & "Fit Type". Thanks a bunch!
Trevor
  2 个评论
Jan
Jan 2012-9-26
编辑:Jan 2012-9-26
@Trevor: I'd really appreciate, if you had blurred the large bold impressive logo of your company also. We do not like advertisments of any kind here.
Please tell us the type and version of the operating system, the Matlab version, the active renderer and the method you have used to create the PDF.
Jan
Jan 2012-9-26
[MOVED from Asnwers to Comments]
Trevor has written:
My apologies for the company logo, it was not my intention to advertise, I only decided to remove confidential data. I will be mindful of this in the future.
Operating System: Windows 7
Matlab Version: 2012b
Active Renderer: Unsure. How can I determine this?
Method: print(decayFig,['FileName', '.pdf'],'-dpdf',['-r' num2str(300)]);

请先登录,再进行评论。

回答(2 个)

Trevor Harris
Trevor Harris 2012-9-27
Am I allowed to bump?
  3 个评论
Trevor Harris
Trevor Harris 2012-9-27
get(decayFig,'Renderer') yields the renderer of:
zbuffer
I've tried using the openGL or painters, and I get the same effect.
Tom
Tom 2012-9-27
If you use SAVEAS instead of PRINT, does the same thing happen?

请先登录,再进行评论。


Daniel Shub
Daniel Shub 2012-9-27
The almost universal answer to question like this is: Have you tried FEX:export_fig?

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by