[mcstas-users] McStas with Octave
Jesús P. de Vicente
jesuspedrodevicente at gmail.com
Mon Nov 19 18:23:01 CET 2012
Hello Emmanuel,
It works perfectly.
Thank you very much.
Kind regards,
*Jesús P. de Vicente.-*
2012/11/19 Emmanuel FARHI <farhi at ill.eu>
> Hello Jesus,
>
> The Matlab data set format should also be appropriate with octave:
>
> # mcrun instr --format=Matlab --dir=outdir ...
> # octave
> octave:1> cd outdir
> octave:2> s=mcstas;
>
> this will import the full simulation data as a structure in 's'. If you
> want the plots to be generated, use one of the two commands below:
>
> octave:3> s=mcstas('plot')
> octave:3> mcstas;
>
> Good luck, Emmanuel.
>
>
> On 11/19/2012 03:36 PM, Jesús P. de Vicente wrote:
>
> Good afternoon,
>
> I trying to do that but I don't get that it works.
> I would like to ask if it could be possible to trace the simulations and
> plot the McStas results with Octave in the same way as with Matlab.
>
> Thank you very much.
> Kind regards.
>
> *Jesús P. de Vicente.-*
>
>
> _______________________________________________
> mcstas-users mailing listmcstas-users at mcstas.orghttp://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
>
>
> --
> Emmanuel FARHI,www.ill.eu/computing/people/emmanuel-farhi \|/ ____ \|/
> CS-Group ILL4/221, 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 48 39 06 \__U_/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20121119/78974ef9/attachment.html>
More information about the mcstas-users
mailing list