Problem with figure.user_data

Paul Czienskowski paul_c at gmx.de
Wed May 19 10:31:33 CEST 2010


Dear all,

I just started using Scilab to program an EEG toolbox for my diploma 
thesis. When trying to display some MRI-Data I encountered a problem: I 
saved data about the MRI volume and which part to render in the 
figure.user_data property in my Plot function like

   f.user_data = struct();
   f.user_data.slices = slices;
   f.user_data.vol = vol;

Now I'm trying to use this data in the figures event-handler, calling

     fig = get_figure_handle(win);

but fig.user_data is an empty cont now. What am I doing wrong? Ain't 
user_data supposed to be used for such reason?

Thanks in advance,

Paul Czienskowski


-- 
Paul Czienskowski
Björnsonstr. 25
12163 Berlin

Tel.: (+49)(0)30/221609359
Handy: (+49)(0)1788378772




More information about the users mailing list