MATLAB Answers

export figure with textures and colors ...

4 ビュー (過去 30 日間)
B.
B. 2011 年 4 月 30 日
I run MATLAB on various platforms at work. One computer is running RHEL6 with MATLAB R2010b, the one at home runs Windows 7 64-bit with MATLAB R2010b. I have a figure I created that has within it two spheres, one yellow and one blue, with the lighting set to 'phong' and the camera light is on. So, they look like shiny and reflective solid blue or solid yellow spheres on the figure (on both computers). The problem I have is when I use the export option, to save the figure to an eps or png file, for instance. Once the export operation completes, when I open the figure the two spheres show up as solid white. They are still reflective, but the color information is lost. This export problem happens on the computer running MATLAB under Windows 7 64-bit, with a NVIDIA GeForce GT 220 graphics card and the latest NVIDIA graphics drivers (270.61). The problem does not occur on the RHEL6 computer, which uses a NVIDIA Quadro graphics card with NVIDIA drivers (260.19.44). Why does this happen and how can I fix it?

回答 (1 件)

dm
dm 2011 年 4 月 30 日
Not sure if this will solve it, but have you tried changing the rendering?

Community Treasure Hunt

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

Start Hunting!

Translated by