From Timur.Elzhov at jinr.ru Thu Apr 3 12:48:55 2003 From: Timur.Elzhov at jinr.ru (Timur Elzhov) Date: Thu, 03 Apr 2003 14:48:55 +0400 Subject: [neutron-mc] Problem with `--no-runtime' option Message-ID: <20030403104855.GA8641@pcf004.jinr.ru> Dear McStas experts! I tried to convert the example instrument file (considered in the manual) in the C file with '--no-runtime' option: ~$ mcstas -t --no-runtime Laue_diff.instr ~$ That's OK. Then, I tried to compile this file (having links to 'mcstas-r.h' as well as 'mcstas-r.c' in the directory): ~$ gcc -c Laue_diff.c Laue_diff.c: In function `mcinit': Laue_diff.c:613: `mcdotrace' undeclared (first use in this function) Laue_diff.c:613: (Each undeclared identifier is reported only once Laue_diff.c:613: for each function it appears in.) Laue_diff.c: In function `mcraytrace': Laue_diff.c:721: `mcdotrace' undeclared (first use in this function) Where am I wrong? Thank you for any help! (I use the 1.5 version of McStas) -- WBR, Timur V. Elzhov From farhi at ill.fr Thu Apr 3 15:19:30 2003 From: farhi at ill.fr (Emmanuel Farhi) Date: Thu, 03 Apr 2003 15:19:30 +0200 Subject: [neutron-mc] Problem with `--no-runtime' option References: <20030403104855.GA8641@pcf004.jinr.ru> Message-ID: <3E8C34E2.C5E823FB@ill.fr> Hello Timur, The --no-runtime option for mcstas means that the 'standard' library/tools for Monte Carlo are not embedded in the instrument source code (.c). Anyway, most of the components require some of the functions there-in. Thus, either you have to supply equivalents to the definitions listed in mcstas-r.h (but this is probably not a good solution as it requires a lot of work), or you have to link the libraries after the creation of the .c. This is what I explain afterwards. Thus, the right compilation process would be: > mcstas -t --no-runtime Laue_diff.instr > gcc -c mcstas-r.c The '-c' means 'just build the .o and do not link'. This requires to have access to mcstas-r.c and .h, either through copies (possibly modified by you) or links. If the symbol MCSTAS_VERSION is required, use: cc -c -DMCSTAS_VERSION="External McStas run-time" mcstas-r.c Then: > gcc -o Laue_diff..out mcstas-r.o Laue_diff..c -lm means, use the external mcstas-r object file, and link it Good luck, Emmanuel. Timur Elzhov wrote: > Dear McStas experts! > > I tried to convert the example instrument file (considered > in the manual) in the C file with '--no-runtime' option: > > ~$ mcstas -t --no-runtime Laue_diff.instr > ~$ > > That's OK. Then, I tried to compile this file (having links > to 'mcstas-r.h' as well as 'mcstas-r.c' in the directory): > > ~$ gcc -c Laue_diff.c > Laue_diff.c: In function `mcinit': > Laue_diff.c:613: `mcdotrace' undeclared (first use in this function) > Laue_diff.c:613: (Each undeclared identifier is reported only once > Laue_diff.c:613: for each function it appears in.) > Laue_diff.c: In function `mcraytrace': > Laue_diff.c:721: `mcdotrace' undeclared (first use in this function) > > Where am I wrong? Thank you for any help! > > (I use the 1.5 version of McStas) > > -- > WBR, > Timur V. Elzhov > > _______________________________________________ > neutron-mc mailing list > neutron-mc at neutron.risoe.dk > http://neutron.risoe.dk/mailman/listinfo/neutron-mc -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Timur.Elzhov at jinr.ru Thu Apr 3 15:48:50 2003 From: Timur.Elzhov at jinr.ru (Timur Elzhov) Date: Thu, 03 Apr 2003 17:48:50 +0400 Subject: [neutron-mc] Problem with `--no-runtime' option In-Reply-To: <3E8C34E2.C5E823FB@ill.fr> References: <20030403104855.GA8641@pcf004.jinr.ru> <3E8C34E2.C5E823FB@ill.fr> Message-ID: <20030403134849.GA8918@pcf004.jinr.ru> On Thu, Apr 03, 2003 at 03:19:30PM +0200, Emmanuel Farhi wrote: > The --no-runtime option for mcstas means that the 'standard' > library/tools for Monte Carlo are not embedded in the instrument source > code (.c). Anyway, most of the components require some of the functions > there-in. Thus, either you have to supply equivalents to the definitions > listed in mcstas-r.h (but this is probably not a good solution as it > requires a lot of work), or you have to link the libraries after the > creation of the .c. This is what I explain afterwards. > Thus, the right compilation process would be: > > mcstas -t --no-runtime Laue_diff.instr > > gcc -c mcstas-r.c > The '-c' means 'just build the .o and do not link'. This requires to > have access to mcstas-r.c and .h, either through copies (possibly > modified by you) or links. Hmm, let's look at the my text more thoroughly: TE> ~$ gcc -c Laue_diff.c ^^^^^ I just try to create the *object* file Laue_diff.o only, *without* linking! The compiler goes through this step inevitably, right? ;) Well, we note that mcstas-r.h is in our directory... Now, let's compile them. gcc fails with errors: TE> Laue_diff.c: In function `mcinit': TE> Laue_diff.c:613: `mcdotrace' undeclared (first use in this function) TE> Laue_diff.c:613: (Each undeclared identifier is reported only once TE> Laue_diff.c:613: for each function it appears in.) TE> Laue_diff.c: In function `mcraytrace': TE> Laue_diff.c:721: `mcdotrace' undeclared (first use in this function) `-DMCSTAS_VERSION="External McStas run-time"' doesn't help :( > If the symbol MCSTAS_VERSION is required, use: cc -c > -DMCSTAS_VERSION="External McStas run-time" mcstas-r.c > Then: > > gcc -o Laue_diff.out mcstas-r.o Laue_diff.c -lm > means, use the external mcstas-r object file, and link it This produces absolutely the same errors :-( Where am I wrong, again? Sorry if I so stupid! ;-) -- WBR, Timur. From farhi at ill.fr Thu Apr 3 18:08:54 2003 From: farhi at ill.fr (Emmanuel Farhi) Date: Thu, 03 Apr 2003 18:08:54 +0200 Subject: [neutron-mc] Problem with `--no-runtime' option References: <20030403104855.GA8641@pcf004.jinr.ru> <3E8C34E2.C5E823FB@ill.fr> <20030403134849.GA8918@pcf004.jinr.ru> Message-ID: <3E8C5C96.978BEA90@ill.fr> Hy Timur, I finally realized what you mean. I corrected a few declaration mismatches that probably date from a long time, and only apply when using the --no-runtime. For your particular case, you should probably add in mcstas-r.h lines such as extern int mcdotrace; the type of the missing variables to declare is to be found in mcstas-r.c (and should be preceeded by 'mcstatic' in this latter file). Emmanuel. Timur Elzhov wrote: > On Thu, Apr 03, 2003 at 03:19:30PM +0200, Emmanuel Farhi wrote: > > > The --no-runtime option for mcstas means that the 'standard' > > library/tools for Monte Carlo are not embedded in the instrument source > > code (.c). Anyway, most of the components require some of the functions > > there-in. Thus, either you have to supply equivalents to the definitions > > listed in mcstas-r.h (but this is probably not a good solution as it > > requires a lot of work), or you have to link the libraries after the > > creation of the .c. This is what I explain afterwards. > > Thus, the right compilation process would be: > > > mcstas -t --no-runtime Laue_diff.instr > > > gcc -c mcstas-r.c > > The '-c' means 'just build the .o and do not link'. This requires to > > have access to mcstas-r.c and .h, either through copies (possibly > > modified by you) or links. > Hmm, let's look at the my text more thoroughly: > TE> ~$ gcc -c Laue_diff.c > ^^^^^ > I just try to create the *object* file Laue_diff.o only, > *without* linking! The compiler goes through this step > inevitably, right? ;) > > Well, we note that mcstas-r.h is in our directory... > > Now, let's compile them. gcc fails with errors: > TE> Laue_diff.c: In function `mcinit': > TE> Laue_diff.c:613: `mcdotrace' undeclared (first use in this function) > TE> Laue_diff.c:613: (Each undeclared identifier is reported only once > TE> Laue_diff.c:613: for each function it appears in.) > TE> Laue_diff.c: In function `mcraytrace': > TE> Laue_diff.c:721: `mcdotrace' undeclared (first use in this function) > > `-DMCSTAS_VERSION="External McStas run-time"' doesn't help :( > > > If the symbol MCSTAS_VERSION is required, use: cc -c > > -DMCSTAS_VERSION="External McStas run-time" mcstas-r.c > > Then: > > > gcc -o Laue_diff.out mcstas-r.o Laue_diff.c -lm > > means, use the external mcstas-r object file, and link it > This produces absolutely the same errors :-( > > Where am I wrong, again? > Sorry if I so stupid! ;-) > > -- > WBR, > Timur. > > _______________________________________________ > neutron-mc mailing list > neutron-mc at neutron.risoe.dk > http://neutron.risoe.dk/mailman/listinfo/neutron-mc -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.willendrup at risoe.dk Wed Apr 16 21:30:38 2003 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Wed, 16 Apr 2003 21:30:38 +0200 (CEST) Subject: [neutron-mc] Status Message-ID: Hello everyone, As you may have noticed, the website has been slightly updated. In brief summary, the added information is a) A set of slides presented by Emmanuel and I at the recent SCANS meeting in Prague http://mcstas.risoe.dk/workshop/scans_prague/ (a presentation of new features in mcstas-1.7) b) An estimated release date for mcstas-1.7 has been set to may 15th (e.g. mid may) c) Various updates to the 'status page' at http://mcstas.risoe.dk/developments/status/ (several features now have 'green' status) Cheers, Peter -- ------------------------------------- Peter Kjaer Willendrup, cand. scient Phone: (+45) 46 77 58 62 email: peter.willendrup at risoe.dk If your messages to me are rejected take a look at: ------------------------------------- From kell.mortensen at risoe.dk Fri May 2 11:53:04 2003 From: kell.mortensen at risoe.dk (Mortensen, Kell) Date: Fri, 02 May 2003 11:53:04 +0200 Subject: [neutron-mc] fys-lin-1 Message-ID: <761F626F3EB09A43A52F9F263F5765AD0854A7@exchg-00G> Hej Peter S? vidt jeg husker er det dig der har kontrol med fys-lin-1. Jeg kan ikke mere overf?re data med ftp til fys-lin-1. Kan du hj?lpe med det (Jeg er p? PSI 5-12 maj, og skulle gerne kunne sende data hjem) Kell From kell.mortensen at risoe.dk Fri May 2 12:01:16 2003 From: kell.mortensen at risoe.dk (Mortensen, Kell) Date: Fri, 02 May 2003 12:01:16 +0200 Subject: [neutron-mc] sorry Message-ID: <761F626F3EB09A43A52F9F263F5765AD0854A8@exchg-00G> Sorry for my mail to all of you I did not realize that return-mail to Peter got to all in the neutron-MC list Sorry Kell From farhi at ill.fr Mon May 5 10:39:34 2003 From: farhi at ill.fr (Emmanuel Farhi) Date: Mon, 05 May 2003 10:39:34 +0200 Subject: [neutron-mc] Re: mcstas 1.6.1-ill on freeBSD and OSX References: <20030214140920.GA55371@greed.zenspider.com> <20030504153732.GA83659@greed.zenspider.com> Message-ID: <3EB62346.42303903@ill.fr> Hy Philip, This signal handler unknown symbol has been fixed in the on going release release (dev.), and I remember having answered to this problem quite some time ago. To make all work, just remove lines containing occurences of SIGPWR in the file mcstas-r.c of the MCSTAS/lib. To make it clear, I've already compiled and executed MStas for Windows and MacOS X 10.2. All is fine and nearly ready. Be al little more patient. Philip Wilk wrote: > Hi guys, > > I have tried this both on freeBSD and OSX with indenticle results. > > Do you have any thoughts on this problem: > > I download mcstas-1.6.1-tar.gz and run the following commands (in tcsh): > > tar xvfz mcstas-1.6.1.tar.gz > cd mcstas-1.6.1 > ./configure > make > setenv MCSTAS /usr/home/pwilk/work/mcstas-1.6.1/lib > cd examples > ../mcstas vanadium_example.instr > gcc vanadium_example.c > > and I get this: > > mcstas-r.c: In function `sighandler': > mcstas-r.c:1963: `SIGPWR' undeclared (first use in this function) > mcstas-r.c:1963: (Each undeclared identifier is reported only once > mcstas-r.c:1963: for each function it appears in.) > mcstas-r.c: In function `mcstas_main': > mcstas-r.c:2031: `SIGPWR' undeclared (first use in this function) > > Any ideas? -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.willendrup at risoe.dk Thu May 15 16:42:39 2003 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Thu, 15 May 2003 16:42:39 +0200 (CEST) Subject: [neutron-mc] mcstas-1.7 Message-ID: Hello everyone, On April 16th, I announced that the new McStas release would be out on May 15th. This will not be the case, but pretty close... :) Emmanuel Farhi and I are currently working hard to remove the last bugs and annoyances, as well as updating the documentation. We expect release early next week. - Hope you all have the patience to wait for that - as you know: "Good things come to those who wait..." :) Regards Peter Willendrup, on behalf of the McStas team. -- ------------------------------------- Peter Kjaer Willendrup, cand. scient Phone: (+45) 46 77 58 62 email: peter.willendrup at risoe.dk If your messages to me are rejected take a look at: ------------------------------------- From peter.willendrup at risoe.dk Tue May 20 23:46:16 2003 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Tue, 20 May 2003 23:46:16 +0200 (CEST) Subject: [neutron-mc] mcstas-1.7 is out Message-ID: Dear users, Finally it happened, mcstas-1.7 is out! An announcement has been put on the webpage as well as updated installation instructions. From the list of release highlights: * New language extensions, %include, SHARE %{ %} + ... * Inter-simulation saving using kill -USR2 * No reqirement for PGPLOT, pgperl, PDL, flex, bison * Simpler installation * New graphical backends based on Matlab and Scilab * 3D visualisation of data and instruments * Improved support for Windows systems (at least Windows 2000 + XP) * Better integration of documentation tools A page with install/build test info has been written at http://mcstas.risoe.dk/developments/platforms. Also note that all information on the webpage is not in sync with the new release. This will happen in the near future. Greetings to you all from Peter Willendrup Emmanuel Farhi Kim Lefmann -- ------------------------------------- Peter Kjaer Willendrup, cand. scient Phone: (+45) 46 77 58 62 email: peter.willendrup at risoe.dk If your messages to me are rejected take a look at: ------------------------------------- From peter.willendrup at risoe.dk Thu May 22 13:04:11 2003 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Thu, 22 May 2003 13:04:11 +0200 (CEST) Subject: [neutron-mc] mcstas-1.7 known problems page Message-ID: Hello eveyone, As always, a newly released piece of software has minor problems and things to know. Check the known problems webpage at http://mcstas.risoe.dk/documentation/problems for more info. In case you find problems apart from those listed, please report to neutron-mc at risoe.dk or mcstas at risoe.dk The plan is to release a bugfix / doc update version (mcstas-1.7a) in about two weeks time. This should give you all the possibility to find and report urgent problems with the current release. Regards Peter Willendrup -- ------------------------------------- Peter Kjaer Willendrup, cand. scient Phone: (+45) 46 77 58 62 email: peter.willendrup at risoe.dk If your messages to me are rejected take a look at: ------------------------------------- From ain at cea.fr Mon May 26 20:23:41 2003 From: ain at cea.fr (Michel Ain) Date: Mon, 26 May 2003 20:23:41 +0200 Subject: [neutron-mc] vanadium-example.intr Message-ID: <3ED25BAD.2090009@cea.fr> Hello, I'm examining the plot of vanadium-example.intr with ROT set to 0, and I don't see why the intensity appears on the right side of the figure. I'm expecting it symetrically, on the both far left and right sides of the figure. I could very welll agree with the representation shown on the front page of mcstas site. Cordially michel Ain From farhi at ill.fr Tue May 27 11:02:49 2003 From: farhi at ill.fr (Emmanuel Farhi) Date: Tue, 27 May 2003 11:02:49 +0200 Subject: [neutron-mc] vanadium-example.intr References: <3ED25BAD.2090009@cea.fr> Message-ID: <3ED329B8.D208508E@ill.fr> Hello Michel, I've looked at the PSD_monitor_4PI, used to generate the detector image, and it seems that it computes the horizontal angle phi = atan2(z,x); but phi = atan2(x,z); would probably be better, as it is the deviation angle of x transversal coordinate w/r to z propagation axis. Then, it is straightforward to see that the 1st expression is shifted by 90 degrees w/r to the 2nd one. This is not a 'bug' but just the way the angle origin is defined in this monitor. It will be corrected in the next release. Emmanuel. Michel Ain wrote: > Hello, > I'm examining the plot of vanadium-example.intr with ROT set to 0, and I > don't see why the intensity appears on the right side of the figure. I'm > expecting it symetrically, on the both far left and right sides of the > figure. I could very welll agree with the representation shown on the > front page of mcstas site. > Cordially > michel Ain > > _______________________________________________ > neutron-mc mailing list > neutron-mc at neutron.risoe.dk > http://neutron.risoe.dk/mailman/listinfo/neutron-mc -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.M.Dalgliesh at rl.ac.uk Fri Jun 6 14:03:24 2003 From: R.M.Dalgliesh at rl.ac.uk (Dalgliesh, RM (Robert) ) Date: Fri, 06 Jun 2003 13:03:24 +0100 Subject: [neutron-mc] mcdisplay zooming Message-ID: <37CAC51AC5C1D211966100A0C9ED000A029221AF@exchange07.rl.ac.uk> I have compiled mcstas on a redhat 8 linux system with perl 5.8. The bulk of the packages appear to be working fine but the zooming function in v1.7 mcdisplay for both the --multi PGPLOT and Scilab packages does not appear to work properly. I have tested the .out file I am using as a test with the mcstas-v1.6-ill mcdisplay and this seems to work with no problems. The latest version appears to add in an offset to the x-axis and also fails to scale the 3 plots correctly. As far as I can see the do_zoom function appears to be the same for the PGPLOT section of the code as it was for v1.6. Does anyone have any thoughts as to why this may now be happening? Thanks Robert Dalgliesh From farhi at ill.fr Fri Jun 6 14:22:03 2003 From: farhi at ill.fr (Emmanuel Farhi) Date: Fri, 06 Jun 2003 14:22:03 +0200 Subject: [neutron-mc] mcdisplay zooming References: <37CAC51AC5C1D211966100A0C9ED000A029221AF@exchange07.rl.ac.uk> Message-ID: <3EE0876B.A7CBCE4B@ill.fr> Hello Robert, We've seen that bug recently, and we shall probably solve it soon. Anyway, using Scilab plotter for McDisplay is much easier and nice to look at (3D rotations, traces of many neutrons to view the beam, etc). I think Scilab is part of the Redhat distribution. Just add the Plotlib library (very easy to install). Emmanuel. "Dalgliesh, RM (Robert)" wrote: > I have compiled mcstas on a redhat 8 linux system with perl 5.8. The bulk of > the packages appear to be working fine but the zooming function in v1.7 > mcdisplay for both the --multi PGPLOT and Scilab packages does not appear to > work properly. > I have tested the .out file I am using as a test with the mcstas-v1.6-ill > mcdisplay and this seems to work with no problems. > The latest version appears to add in an offset to the x-axis and also fails > to scale the 3 plots correctly. As far as I can see the do_zoom function > appears to be the same for the PGPLOT section of the code as it was for > v1.6. Does anyone have any thoughts as to why this may now be happening? > > Thanks > > Robert Dalgliesh > _______________________________________________ > neutron-mc mailing list > neutron-mc at neutron.risoe.dk > http://neutron.risoe.dk/mailman/listinfo/neutron-mc -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.M.Dalgliesh at rl.ac.uk Fri Jun 6 14:46:52 2003 From: R.M.Dalgliesh at rl.ac.uk (Dalgliesh, RM (Robert) ) Date: Fri, 06 Jun 2003 13:46:52 +0100 Subject: [neutron-mc] mcdisplay zooming Message-ID: <37CAC51AC5C1D211966100A0C9ED000A029221B0@exchange07.rl.ac.uk> Hi Emmanuel, Thanks for the quick reply. I have the plotlib stuff installed and the scilab interface looks great and is much nicer to use. The rotation works fine but the zooming doesn't seem to. I get the zoom rectangle but then when I left click again nothing happens. Incidentally we have succeded in getting matlab interface to work at ISIS using windows without any problems. (I would prefer to use linux though) Thanks Robert -----Original Message----- From: Emmanuel Farhi [mailto:farhi at ill.fr] Sent: 06 June 2003 13:22 To: neutron-mc at risoe.dk Subject: Re: [neutron-mc] mcdisplay zooming Hello Robert, We've seen that bug recently, and we shall probably solve it soon. Anyway, using Scilab plotter for McDisplay is much easier and nice to look at (3D rotations, traces of many neutrons to view the beam, etc). I think Scilab is part of the Redhat distribution. Just add the Plotlib library (very easy to install). Emmanuel. "Dalgliesh, RM (Robert)" wrote: I have compiled mcstas on a redhat 8 linux system with perl 5.8. The bulk of the packages appear to be working fine but the zooming function in v1.7 mcdisplay for both the --multi PGPLOT and Scilab packages does not appear to work properly. I have tested the .out file I am using as a test with the mcstas-v1.6-ill mcdisplay and this seems to work with no problems. The latest version appears to add in an offset to the x-axis and also fails to scale the 3 plots correctly. As far as I can see the do_zoom function appears to be the same for the PGPLOT section of the code as it was for v1.6. Does anyone have any thoughts as to why this may now be happening? Thanks Robert Dalgliesh _______________________________________________ neutron-mc mailing list neutron-mc at neutron.risoe.dk http://neutron.risoe.dk/mailman/listinfo/neutron-mc -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From farhi at ill.fr Fri Jun 6 15:04:26 2003 From: farhi at ill.fr (Emmanuel Farhi) Date: Fri, 06 Jun 2003 15:04:26 +0200 Subject: [neutron-mc] mcdisplay zooming References: <37CAC51AC5C1D211966100A0C9ED000A029221B0@exchange07.rl.ac.uk> Message-ID: <3EE0915A.C137BA5A@ill.fr> Hy again Robert, We have also ssen that the Zoom buttons do not work on 3D plots. This behaviour is the one of Scilab, and we do not see any working 3D zoom possibility yet. To zoom on an instrument part, select the first and last component to view in the Xscilab dialog (the one with many buttons). Emmanuel. "Dalgliesh, RM (Robert)" wrote: > Hi Emmanuel,Thanks for the quick reply.I have the plotlib stuff > installed and the scilab interface looks great and is much nicer to > use. The rotation works fine but the zooming doesn't seem to. I get > the zoom rectangle but then when I left click again nothing happens. > Incidentally we have succeded in getting matlab interface to work at > ISIS using windows without any problems. (I would prefer to use linux > though)ThanksRobert > > -----Original Message----- > From: Emmanuel Farhi [mailto:farhi at ill.fr] > Sent: 06 June 2003 13:22 > To: neutron-mc at risoe.dk > Subject: Re: [neutron-mc] mcdisplay zooming > Hello Robert, > > We've seen that bug recently, and we shall probably solve it > soon. > Anyway, using Scilab plotter for McDisplay is much easier > and nice to look at (3D rotations, traces of many neutrons > to view the beam, etc). > I think Scilab is part of the Redhat distribution. Just add > the Plotlib library (very easy to install). > > Emmanuel. > > "Dalgliesh, RM (Robert)" wrote: > > > I have compiled mcstas on a redhat 8 linux system with > > perl 5.8. The bulk of > > the packages appear to be working fine but the zooming > > function in v1.7 > > mcdisplay for both the --multi PGPLOT and Scilab packages > > does not appear to > > work properly. > > I have tested the .out file I am using as a test with the > > mcstas-v1.6-ill > > mcdisplay and this seems to work with no problems. > > The latest version appears to add in an offset to the > > x-axis and also fails > > to scale the 3 plots correctly. As far as I can see the > > do_zoom function > > appears to be the same for the PGPLOT section of the code > > as it was for > > v1.6. Does anyone have any thoughts as to why this may now > > be happening? > > > > Thanks > > > > Robert Dalgliesh > > _______________________________________________ > > neutron-mc mailing list > > neutron-mc at neutron.risoe.dk > > http://neutron.risoe.dk/mailman/listinfo/neutron-mc > > -- > What's up Doc ? > -------------------------------------------- > Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ > CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ > 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ > Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ > > > -- What's up Doc ? -------------------------------------------- Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/ CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48 \__U_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: