octave-maintainers
[Top][All Lists]
Advanced

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

Re: gnuplot output from print?


From: Shai Ayal
Subject: Re: gnuplot output from print?
Date: Sat, 1 Sep 2007 16:06:51 +0300

On 9/1/07, Søren Hauberg <address@hidden> wrote:
> Hi,
>   I don't really know that much about how the current plotting system
> work, so this will probably be a very silly question. I was just
> wondering how hard it would be to add gnuplot output to print. That is,
> making it possible to write something like,
>
>   print -dgnuplot myplot.gp
>
> which then would produce a file gnuplot could read. This could be quite
> useful when you want to tweak some minor detail of a plot. Anyway, just
> thinking out loud...

Very nice suggestion. I am not near the computer now, but I think
that, taking example from drawnow.m:

fid = fopen("out.gplt","wb");
__go_draw_figure__ (fig_handle, fid);
fclose(fid);

Should give you what you want

Shai



reply via email to

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