emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* combined graphical and textual result.
@ 2011-03-02 10:02 Piter_
  2011-03-02 11:50 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Piter_ @ 2011-03-02 10:02 UTC (permalink / raw)
  To: emacs-orgmode

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.
Thanks.
Petro.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: combined graphical and textual result.
  2011-03-02 10:02 combined graphical and textual result Piter_
@ 2011-03-02 11:50 ` Eric S Fraga
  2011-03-03  9:41   ` Piter_
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2011-03-02 11:50 UTC (permalink / raw)
  To: Piter_; +Cc: emacs-orgmode

Piter_ <x.piter@gmail.com> 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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: combined graphical and textual result.
  2011-03-02 11:50 ` Eric S Fraga
@ 2011-03-03  9:41   ` Piter_
  0 siblings, 0 replies; 3+ messages in thread
From: Piter_ @ 2011-03-03  9:41 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: emacs-orgmode

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 <e.fraga@ucl.ac.uk> wrote:
> Piter_ <x.piter@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-03  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-02 10:02 combined graphical and textual result Piter_
2011-03-02 11:50 ` Eric S Fraga
2011-03-03  9:41   ` Piter_

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).