I made the tests you suggested. The behaviour is very erratic, sometimes works fine but in the majority of the attempts the java error still appears, freezing the whole GUI... I'm sorry that I can't provide more details... It's probably some issue between matlab/java/ubuntu. Let me point out that such instabilities are indeed very common when running more complex 3D graphics under Linux.
cheers !
JP
Hi Adam, thanks for your swift reply. I've reinstalled it using a different directory and managed to launch the app, but I'm still receiving lots of error msgs... I'm already runing as administrator.
Path gives me: /home/jpn12/Documents/MATLAB/Apps/DataExplorer - 2
/home/jpn12/Documents/MATLAB/Apps/DataExplorer - 2/Patch
/home/jpn12/Documents/MATLAB/Apps/DataExplorer - 2/html
/home/jpn12/Documents/MATLAB/Apps/DataExplorer - 2/metadata
and when loading some data (or trying the built-in examples) into the app I got:
Error using griddedInterpolant
Sample values must be a single or double array.
Error in interp3 (line 141)
F = griddedInterpolant(X, Y, Z, V, method,extrap);
Error in slicemod (line 100)
vi = interp3(x,y,z,v,xi,yi,zi,method);
Error in DataExplorer/RedrawSlice (line 984)
app.SliceHandle =
slicemod(app.SliceAxis,app.DimValues{1},app.DimValues{2},app.DimValues{3},app.Data(:,:,:,app.CurrentSample),SliceLoc(1),SliceLoc(2),SliceLoc(3));
Error in DataExplorer>@(varargin)app.RedrawSlice(varargin{:})
(line 178)
app.GridComp{1,2} =
uicontrol('Parent',app.SliceGrid,'Style','slider','Callback',@app.RedrawSlice);
Error while evaluating uicontrol Callback
java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
at java.awt.Component.checkGD(Unknown Source)
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at com.mathworks.hg.peer.FigurePanel.doAdd(FigurePanel.java:215)
at com.mathworks.hg.peer.FigurePanel.assembleFigurePanel(FigurePanel.java:203)
at com.mathworks.hg.peer.FigurePanel.reconstructFigurePanel(FigurePanel.java:131)
at com.mathworks.hg.peer.FigurePanel.handleNotification(FigurePanel.java:88)
at com.mathworks.hg.peer.FigureNotificationHandlerImpl.forwardNotification(FigureNotificationHandlerImpl.java:62)
at com.mathworks.hg.peer.FigureNotificationHandlerImpl.handleNotification(FigureNotificationHandlerImpl.java:29)
at com.mathworks.hg.peer.FigureAxisComponentProxy.construct(FigureAxisComponentProxy.java:89)
at com.mathworks.hg.peer.FigureAxisComponentProxy.setVisual(FigureAxisComponentProxy.java:112)
at com.mathworks.hg.peer.FigureHG1Mediator.setClientVisual(FigureHG1Mediator.java:119)
at com.mathworks.hg.peer.HG1FigurePeer.setVisualImpl(HG1FigurePeer.java:169)
at com.mathworks.hg.peer.FigurePeer$25.run(FigurePeer.java:2552)
at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.runit(HGPeerQueue.java:262)
at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.runNotThese(HGPeerQueue.java:294)
at com.mathworks.hg.util.HGPeerQueue$HGPeerRunnablesRunner.run(HGPeerQueue.java:310)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
BTW: I'm using dual monitors, and I know Matlab doesn't behave well with this configuration sometimes...
it doesn't work for me... runing R2013a under ubuntu... Tks
Warning: Function /home/jpn12/rotinas matlab/dataexplorer/%2Buiextras/get.m has
the same name as a MATLAB builtin. We suggest you rename the function to avoid a
potential name conflict.
> In path at 110
In addpath at 87
In runapp at 10
Warning: Function /home/jpn12/rotinas matlab/dataexplorer/%2Buiextras/set.m has
the same name as a MATLAB builtin. We suggest you rename the function to avoid a
potential name conflict.
> In path at 110
In addpath at 87
In runapp at 10
Error using get (line 40)
Property name must begin with 'Default'.
Error in DataExplorer (line 100)
screensize = get(0,'ScreenSize');
Error in DataExplorer0x2D1App/startApp (line 60)
obj.AppHandle = eval('DataExplorer');
Error in DataExplorer0x2D1App (line 37)
startApp(obj)
Error in appinstall.internal.runapp>execute (line 69)
out = evalin('caller', [script ';']);
Error in appinstall.internal.runapp>runapp13a (line 51)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
Error in appinstall.internal.runapp>runcorrectversion (line 35)
appobj = runapp13a(appinstalldir);
Error in appinstall.internal.runapp (line 17)
out = runcorrectversion(appmetadata, appentrypoint, appinstalldir);
>>
Hi Martin, thanks for trying out the app. I'm still developing in R2013a as 13b is still in prerelease. I'll take a look to see if I can get it running in both versions.
Comment only
19 Jul 2013
Volumetric Data Explorer
App for exploring higher dimensional data using volumetric visualizations and animation.
Updated sliders with continuous feedback works fine.
But in Matlab R2013b the following error appears:
Error using isappdata
The uiextras.HBox object does not support application data."
Error in uiextras.Container/helpSetChildEnable (line 402)
if ~isappdata( child, 'OldEnableState' )
Error in uiextras.Container/set.Enable (line 219)
obj.helpSetChildEnable( ch(ii), obj.Enable_ );
Error in DataExplorer (line 238)
set(app.VBox,'Enable','off');
Error in DataExplorer0x2D2App/startApp (line 60)
obj.AppHandle = eval('DataExplorer');
Error in DataExplorer0x2D2App (line 37)
startApp(obj)
Error in appinstall.internal.runapp>execute (line 75)
out = evalin('caller', [script ';']);
Error in appinstall.internal.runapp>runapp13a (line 57)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
Error in appinstall.internal.runapp>runcorrectversion (line 35)
appobj = runapp13a(appinstalldir);
Error in appinstall.internal.runapp (line 17)
out = runcorrectversion(appmetadata, appentrypoint, appinstalldir);
5
01 Jul 2013
Volumetric Data Explorer
App for exploring higher dimensional data using volumetric visualizations and animation.
Updated version is on its way, hopefully posted today or tomorrow, that incorporates some of the feedback from this forum. Try out V 1.5.0 when it's available and let me know if you have any further feedback!
Comment only
27 Jun 2013
Volumetric Data Explorer
App for exploring higher dimensional data using volumetric visualizations and animation.
Thanks for the feedback Matt! I'm surprised you had to change the renderer manually. My default rendered is painters, and I've never had any problems with the transparency. Likewise I haven't heard of anyone else needing to change the renderer manually. Still, I see your point and will update the app. As for the sliders, that's on my to-do list for the app, so keep an eye out for updates. Thanks!
Comment only
27 Jun 2013
Volumetric Data Explorer
App for exploring higher dimensional data using volumetric visualizations and animation.
Adam, this is a great start.
My defaultfigurerenderer was NOT 'opengl' and thus the transparency didn't render. There was no option within the app to fix this. I closed the app, and in the command line, did
>> set(0,'DefaultFigureRenderer','opengl')
and then reran the app and it worked. Consider setting the figure's renderer manually to opengl when you create it so you don't have to rely on user's potentially different default settings.
Another suggestion, have the sliders update the slices dynamically as you slide them. This can be done and there's material online to do this. I think I've used addListener to check for changes in the slider value, which will be changing as it slides.
Great functionality so far and a nice interface. Great job!
Comment only