Re: [O] combined graphical and textual result.

2011-03-03 Thread Piter_
Thanks.
It solves the problem. Plus I have discovered a new for me thing
called "literate programming".


On Wed, Mar 2, 2011 at 12:50 PM, Eric S Fraga  wrote:
> Piter_  writes:
>
>> Hi all.
>> I try to manage my experimental results in org mode. Some times I need
>> from one source few results to be saved. For example I fit some data
>> in a matlab source code block. From this I need a picture of the fit,
>> and parameters of the fit. Can I have two results blocks?
>> I am afraid that no. But may be there is a way to make it without
>> duplicating the source code.
>
> You could use :noweb to define the common code block and then include it
> in more than one subsequent block, each of which generates different
> views on the results.
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
> : using Org-mode version 7.4 (release_7.4.576.g99675.dirty)
>

-- 
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] combined graphical and textual result.

2011-03-02 Thread Eric S Fraga
Piter_  writes:

> Hi all.
> I try to manage my experimental results in org mode. Some times I need
> from one source few results to be saved. For example I fit some data
> in a matlab source code block. From this I need a picture of the fit,
> and parameters of the fit. Can I have two results blocks?
> I am afraid that no. But may be there is a way to make it without
> duplicating the source code.

You could use :noweb to define the common code block and then include it
in more than one subsequent block, each of which generates different
views on the results.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.576.g99675.dirty)

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode