From j.voigt at fz-juelich.de Thu Oct 30 08:52:09 2014 From: j.voigt at fz-juelich.de (=?Windows-1252?Q?=22Voigt=2C_J=F6rg=22?=) Date: Thu, 30 Oct 2014 07:52:09 +0000 Subject: [Ifit-users] matlab Problems Message-ID: <4AF2A18A-9798-4388-A510-AB79CA874CB8@fz-juelich.de> Dear users, after the matlab upgrade to version 8.4.0.150421 (R2014b) the plotting of iData objects doesn?t work anymore. The error message is: Undefined function 'abs' for input arguments of type 'matlab.ui.Figure'. Error in num2str (line 66) xmax = double(max(abs(widthCopy(:)))); Error in iData_plot_contextmenu (line 9) uimenu(uicm, 'Label', [ 'About ' a.Tag ': ' num2str(ndims(a)) 'D object ' mat2str(size(a)) ' ...' ], ... Error in iData/plot>iData_plot (line 304) iData_plot_contextmenu(a, h, xlab, ylab, zlab, T, S, d, cmd); Error in iData/plot (line 87) h = iData_plot(a, method); Error in ECCE_1Hsize_ifit_analyse (line 122) plot(HDIV_B,colors{i}) Error in analyze_all_ifit (line 2) ECCE_1Hsize_ifit_analyse Matlab runs on a mac OSX version 10.9.5 Has anyone also this problems? Any help is appreciated. Best regards J?rg =================================================================================== Dr. J?rg Voigt J?lich Centre for Neutron Science JCNS und Peter Gr?nberg Institut PGI JCNS-2, PGI-4: Streumethoden Forschungszentrum J?lich GmbH _/ _/_/ 52425 J?LICH _/ _/_/_/ _/_/_/ _/_/_/ _/ _/ DEUTSCHLAND _/ _/ _/ _/ _/_/ _/ Tel. 02461 61 6020 _/ _/ _/ _/ _/ _/_/ _/ Fax 02461 61 2610 _/_/ _/_/_/ _/ _/ _/_/_/ _/_/_/_/ j.voigt at fz-juelich.de =================================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4592 bytes Desc: not available URL: From farhi at ill.fr Thu Oct 30 09:59:37 2014 From: farhi at ill.fr (Emmanuel FARHI) Date: Thu, 30 Oct 2014 09:59:37 +0100 (CET) Subject: [Ifit-users] matlab Problems In-Reply-To: <4AF2A18A-9798-4388-A510-AB79CA874CB8@fz-juelich.de> References: <4AF2A18A-9798-4388-A510-AB79CA874CB8@fz-juelich.de> Message-ID: Hello Jorg and iFit users, ***** DO NOT UPGRADE TO MATLAB 2014b 8.4 ***** The new Matlab version 2014b 8.4 breaks compatibility with all previous Matlab releases. This issue relates to a change in the way graphics are handled. In the past, plots were identified with a single number (a handle). The plots are now an object. Thus all codes which access plotting capablities are now broken, and need to be adapted. Until this is fixed, I recommend all iFit users to stick to the Matlab 2014a and previous versions. If you already upgraded, multiple Matlab releases may be installed concurrently to revert to a previous release. Emmanuel. On Thu, October 30, 2014 08:52, "Voigt, J?rg" wrote: > Dear users, > after the matlab upgrade to version 8.4.0.150421 (R2014b) the plotting of > iData objects doesn?t work anymore. The error message is: > > Undefined function 'abs' for input arguments of type 'matlab.ui.Figure'. > > Error in num2str (line 66) > xmax = double(max(abs(widthCopy(:)))); > > Error in iData_plot_contextmenu (line 9) > uimenu(uicm, 'Label', [ 'About ' a.Tag ': ' num2str(ndims(a)) 'D object ' > mat2str(size(a)) ' ...' ], ... > > Error in iData/plot>iData_plot (line 304) > iData_plot_contextmenu(a, h, xlab, ylab, zlab, T, S, d, cmd); > > Error in iData/plot (line 87) > h = iData_plot(a, method); > > Error in ECCE_1Hsize_ifit_analyse (line 122) > plot(HDIV_B,colors{i}) > > Error in analyze_all_ifit (line 2) > ECCE_1Hsize_ifit_analyse > > Matlab runs on a mac OSX version 10.9.5 > Has anyone also this problems? > > Any help is appreciated. > > Best regards > > J?rg > =================================================================================== > Dr. J?rg Voigt > J?lich Centre for Neutron Science JCNS und Peter Gr?nberg Institut PGI > JCNS-2, PGI-4: Streumethoden > Forschungszentrum J?lich GmbH _/ > _/_/ > 52425 J?LICH _/ _/_/_/ _/_/_/ _/_/_/ _/ > _/ > DEUTSCHLAND _/ _/ _/ _/ _/_/ > _/ > Tel. 02461 61 6020 _/ _/ _/ _/ _/ _/_/ _/ > Fax 02461 61 2610 _/_/ _/_/_/ _/ _/ _/_/_/ > _/_/_/_/ > j.voigt at fz-juelich.de > =================================================================================== > > > > > _______________________________________________ > Ifit-users mailing list > Ifit-users at mccode.org > http://mailman.mccode.org/cgi-bin/mailman/listinfo/ifit-users > -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35 ILL, Grenoble From farhi at ill.eu Fri Nov 14 12:08:00 2014 From: farhi at ill.eu (Emmanuel FARHI) Date: Fri, 14 Nov 2014 12:08:00 +0100 Subject: [Ifit-users] [iFit] Question about monitor Optimization In-Reply-To: References: Message-ID: <5465E290.5090803@ill.eu> An HTML attachment was scrubbed... URL: From jesuspedrodevicente at gmail.com Fri Nov 14 12:17:36 2014 From: jesuspedrodevicente at gmail.com (=?UTF-8?Q?Jes=C3=BAs_P=2E_de_Vicente?=) Date: Fri, 14 Nov 2014 11:17:36 -0000 Subject: [Ifit-users] [iFit] Question about monitor Optimization In-Reply-To: <5465E290.5090803@ill.eu> References: <5465E290.5090803@ill.eu> Message-ID: Thank you very very much. *Jes?s P. de Vicente.-* 2014-11-14 12:08 GMT+01:00 Emmanuel FARHI : > Hello Jesus, > > you can access to a set of monitors if the name you specify corresponds > with a family of monitors, e.g.: > Suppose you have 2 monitors in the simulation, 'Monitor1' and 'Monitor2'. > Then, 'this' is an array of iData objects. > You can then do algebra with it, such as: > > {'Monitor; *max(this(1)) / max(this(2))*'} > > Emmanuel. > > > On 11/14/2014 11:43 AM, Jes?s P. de Vicente wrote: > > Good morning Emmanuel, > > I am sorry for disturb you again. I will try not to do again :) > I just wanted to ask you a simple question about the iFit monitor > optimization. > > As you told me few days ago, I can use 'this' variable to refer to the > monitor itself. > I would like to ask you if there is a way to refer to another monitor > inside another. > > For example: > Operates monitor2 value using monitor1 value. > > *{'Monitor1; nothing to do','monitor2; max(this1) / max(this2)'}* > > Thank you very much. > Regards. > > *Jes?s P. de Vicente.-* > > > -- > Emmanuel FARHI,www.ill.eu/computing/people/emmanuel-farhi \|/ ____ \|/ > CS-Group ILL4/221, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ > 71 av des Martyrs,CS 20156,38042 Grenoble Cedex 9,France /_( \__/ )_\ > Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06 \__U_/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: