[mcstas-users] McStas with Octave
Peter Kjær Willendrup
pkwi at fysik.dtu.dk
Mon Nov 19 20:50:41 CET 2012
Hi again Jesus,
Nothing as such prevents to use Octave for that type of visualization - we just never coded that up… :-)
Best,
Peter
On Nov 19, 2012, at 20:43 , Jesús P. de Vicente <jesuspedrodevicente at gmail.com<mailto:jesuspedrodevicente at gmail.com>> wrote:
Hello Peter,
Thank you. I am trying to use FreeWRL because I didn't find any other open wrml software. But it works very well.
I guess that It can also record gif animations.
Is the trace option an intrinsic limitation of Octave?
Thank you very much.
kind regards,
Jesús P. de Vicente.-
2012/11/19 Peter Kjær Willendrup <pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>>
Dear Jesus,
Good to hear that at least the plotting works!
Just to supplement what Emmanuel wrote:
For the 'TRACE' option there is currently no support for Octave.
If you want to visualise in 3D you can alternatively try using the 'VRML' output option - which has the caveat that maximum ~1000 rays in practice can be visualised. If you have FreeWRL or another VRML/x3d browser installed this can then be used to open the resulting mcdisplay_commands.wrl (example attached) and get the type of graphics you find attached.
In principle there is also a Scilab option - which unfortunatlely only works with the specific 4.0 version of Scilab and also not nice to use...
Best,
Peter
Peter Kjær Willendrup
Development engineer
DTU Physics
Technical University of Denmark
[cid:image002.gif at 01CCCAF1.5E6331F0]
Department of Physics
Fysikvej
Building 307
DK-2800 Kongens Lyngby
Direct +45 2125 4612
Mobil +45 2125 4612
Fax +45 4593 2399
pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121119/01a4d861/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121119/01a4d861/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121119/01a4d861/attachment-0001.gif>
More information about the mcstas-users
mailing list