From: Alan B on 22 Jul 2010 16:24 "zbot one" <zbot.one(a)gmail.com> wrote in message <hq5ncs$fe7$1(a)fred.mathworks.com>... > +1 to the list. Ubuntu 9.10. Nvidia drivers. Dual monitors. R2007b. > > I tried a couple of the suggested fixes (including the one posted above about set(0,...). Either hit or miss. The one that worked best is plotting on the same monitor where MATLAB's command window is running (I know it's a pain, but oh well). > > 2D figures are ok, only ran into trouble with 3D, so for a 3D figure 'f' then: > > scrsz=get(0,'ScreenSize'); > f = figure('Position',[0 scrsz(4)/2 500 500]); > > No need for it to be docked! (in my case) > > -zbot1 I have had this problem for a while as well - I was hoping it would go away when we upgraded recently, but it has not. I've seen it on RHEL 5/R2009b, RHEL 5/R2006b, and RHEL 4/2006b. My machines are 64 bit, with ATI cards. I can usually put the figure on the same monitor as the command window as a workaround, but a real fix would be nice.
From: Georg Fuss on 28 Jul 2010 10:48 (i) Kill your ~/.matlab directory. (ii) After starting matlab again you see the IDE and the window with the graphic output on the same monitor. Now, DO NOT move the window to the other monitor. Maybe better, dock the graphic window to the IDE. On the top of the graphic window is a button DESKTOP to do this. (iii) If you get the error message again, repeat step (i). Step (i) seems important. This also explains, why some of my fellows here have the impression, that older versions do not have this failure. "Lin " <shao(a)msg.ucsf.edu> wrote in message <g02h5q$obq$1(a)fred.mathworks.com>... > I'm using Matlab 7.6.0 on Linux (x86). I get a Java > exception once I click on the Edit|Figure Properties menu > item in a plot window. Does anybody know why? The older > versions used to work fine. Thanks!! > > java.lang.IllegalArgumentException: adding a container to a > container on a different GraphicsDevice
|
Pages: 1 Prev: random vector generation within specific values Next: Best way to compare |