help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save a plot to .ps


From: Daniel Heiserer
Subject: Re: Save a plot to .ps
Date: Fri, 28 May 1999 18:03:43 +0200

address@hidden wrote:
> 
> On 28-May-1999, Daniel Heiserer <address@hidden> wrote:
> 
> | diary('parseme')
> | gshow terminal
> | diary off
> | ==> parse the diary-file
> |
> | I see it will work. Thanks
> 
> Hmm.  This doesn't work for me, because Octave does not see the output
> from gnuplot:
> 
>   $ octave
>   GNU Octave, version 2.0.14 (i686-pc-linux-gnu).
>   Copyright (C) 1996, 1997, 1998, 1999 John W. Eaton.
>   This is free software with ABSOLUTELY NO WARRANTY.
>   For details, type `warranty'.
> 
>   octave:1> diary ('parseme')
>   octave:2> gshow terminal
>   octave:3>
>           terminal type is x11
> 
>   diary off
>   octave:4> quit
>   $ cat parseme
>   octave:2> gshow terminal
>   octave:3> diary off
> 
> The message from gnuplot goes directly to stdout or stderr, so Octave
> doesn't capture it and send it to the pager or put it in the diary
> file.

What about the system command. Does it work in a sub-shell
or does it work in the current shell?
If it works in the current shell we could submit a "scrip" (typescript)
and reread it.

Why not implementing a two way connection and making gnuplots
output available for octave.
Would have nice features for other things too.
The simpliest way would be to pipe gnuplots
stdout/stderr through "|tee" and reread the tee-file
if requested.


-- 
Mit freundlichen Gruessen
                                 Daniel Heiserer
-----
--------------------------------------------------------------
Dipl.-Phys. Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen
Abteilung EK-20
Tel.: 089-382-21187, Fax.: 089-382-42820
mailto:address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]