[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave plotting
From: |
Ben Abbott |
Subject: |
Re: octave plotting |
Date: |
Mon, 15 Aug 2011 13:33:33 -0400 |
On Aug 15, 2011, at 1:10 PM, Glenn Flierl wrote:
> Hi Ben,
>
> Yes that works (after adding "-dpng") and is mentioned in the wiki. My
> changes to run the plot to stdout
>
> if (strcmp(file,"stdout"))
> fprintf (plot_stream, "set output;\n");
> elseif (! isempty (file))
> fprintf (plot_stream, "set output \"%s\";\n", file);
> endif
>
> which work in 3.0 drawnow.m no longer work in gnuplot_drawnow.m -- probably
> from the switch to popen2. You might want to think about the utility of
> something like that.
>
> Movies likewise -- it would be nice to be able to create them directly and
> stream them to a file or stdout. I suppose it could be done in the framework
> of Matlab's getframe/addframe with an equivalent of avifile.
>
> Anyways, thanks
>
> Glenn
Those are good suggestions. If you decide to modify Octave's sources to
implement either feature and without breaking any current functionality, please
submit a patch at the link below.
https://savannah.gnu.org/patch/?group=octave
Ben