Example plot in Manual lacks text
Ben Abbott
bpabbott at mac.com
Tue Apr 7 03:53:14 CDT 2009
On Apr 7, 2009, at 4:37 AM, Ben Abbott wrote:
> On Apr 6, 2009, at 8:25 PM, Michael D. Godfrey wrote:
>
>>>
>>> I'll try writing a function that is able to use the output from
>>> "set terminal" to compose a list of available terminals.
>>
>> Good idea. Asking "set terminal" looks like the only reliable
>> source of information.
>
> I'm not very knowledgeable in pipes, popen, popen2, and such.
>
> When I tried to do this the output from "set terminal;" displays to
> the command line (skips the pipe).
>
The example below illustrates the problem.
more off
[status, output] = system ("more off; gnuplot -e \"set terminal; quit
\"");
The "output" is empty, and the terminal list is displayed.
Ben
More information about the Octave-maintainers
mailing list