PDA

View Full Version : pb to print/export figure from EnvelopeViz


ROGER DE GARDELLE
December 18th, 2006, 04:53
Hello,

I have troubles to export a nice source localisation figure...
I have tried a 'Copy figure', a 'Print figure', a 'Save as' (I tried emf, pdf, bitmap and it always give me a full black figure in return, when it doesn't simply refuse to do anything.

(when I save as bmap I get this warning)
Warning: Problems in UIW_SetUpGLPrinting
> In graphics\private\render at 100
In print at 263
In hgexport at 807
In filemenufcn>localSaveExportHelper at 186
In filemenufcn>localSaveExport at 265
In filemenufcn at 55

(when I try to copy figure I get this one 3 times)
Warning: RGB color data not yet supported in Painter's mode.

Can anyone help me ?

Thanks a lot,

-Vincent

Sylvain
December 18th, 2006, 05:27
Hi Vincent,

I believe its a Matlab problem related to your video card. But I'd need a bit more information here please:
- which Matlab version are you using ?
- on which system ?
- can you please save the figure as a .fig and attach it to this thead ? or send it my mail

I'd suggest you check the online technical support ath the Mathworks for possible bug report that relates to your problem. I'll do the same as soon as I have your information.

Cheers

ROGER DE GARDELLE
December 18th, 2006, 06:22
Hi Sylvain,
Thanks for your quick response.
I am using Matlab V7.1 on WinXP, my .fig is attached in a mail.
-Vincent

Sylvain
December 19th, 2006, 06:16
Hi Vincent,

No problems on my station (Matlab 7.1 with XP).

Here are my Matlab copy options:
http://cogimage.dsi.cnrs.fr/brainstormforumposts/figureCopyOptions.gif

which yields the following nice picture:
http://cogimage.dsi.cnrs.fr/brainstormforumposts/vincentFigureExample.gif

If your copy options are identical but the problem's still here, reboot your system. However, this may be also due to video RAM limitations: I'm running a nVidia 256MB graphics card on my workstation. What are your local specifications ?

ROGER DE GARDELLE
December 19th, 2006, 08:35
Hi,
I suppose you get this picture with Edit > Copy Figure ?
I copy your copy options, and reboot my system.
But there is still a problem.
Warning: Problems in UIW_SetUpGLPrinting
> In graphics\private\render at 100
In print at 263
In editmenufcn at 65

My graphic card is good enough I think (GeForce FX 5700 - 256Mo).
It is quite strange.

I noticed that I have also this warning which appears when I load the results.
Warning: Variable 'ImageGrid' not found.
> In dataplot_cb at 1471
In sourceimaging at 605

Though, I have found a way to get round this problem by using XnView.
But it would be much more comfortable to use directly the menu...

Bests,

-Vincent

Sylvain
December 20th, 2006, 01:46
OK - I still think it's a problem related to the graphics card though. I suggest you consult the Mathworks Matlab support: they have great online knowledge base and you may post a question to their support team.

As for

Warning: Variable 'ImageGrid' not found.
> In dataplot_cb at 1471
In sourceimaging at 605

it's a harmless warning which pops out everytime a results file is loaded. We'll fix that some day.

Cheers

ROGER DE GARDELLE
December 20th, 2006, 04:12
Ok I have found out something in the MathWorks
They said that this problem was fixed under version 2006a, but my version si from 2005.
The alternative solution is :
1) to select the window figure
2) to type this in the command line: set(gcf,'Renderer','Zbuffer');
3) Edit>Copy figure.
4) Paste wherever you want (I only tried MS Word)

Bests,

-Vincent

source:
http://www.mathworks.com/support/solutions/data/1-1UG6IK.html?solution=1-1UG6IK