help-octave
[Top][All Lists]
Advanced

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

Re: tikz terminal


From: Dingwen Yuan
Subject: Re: tikz terminal
Date: Mon, 18 Jan 2010 12:14:08 +0100

Hi Ben,

On my computer, after I keyed in the last line, I got lots of outputs such as
"
gnuplot> @
         ^
         line 0: invalid character @
". And I got an empty plot.tikz and a nonempty gnuplot.gp.
BTW, my octave version is 3.2.2 and my gnuplot version is 4.2 patch 6
and I have installed the lua terminal into the gnuplot. The lua
version is 5.1.4.

Thanks,

Dingwen



2010/1/18 Ben Abbott <address@hidden>:
> On Jan 17, 2010, at 4:58 PM, Dingwen Yuan wrote:
>
>> Hi,
>>
>> I am using octave version 3.2.2 on ubuntu 9.10. I want to you whether
>> it's possible to save an octave plot (I know the backend for plotting
>> is gnuplot) into tikz scripts.
>>
>> regards,
>>
>> Dingwen
>
> I haven't tested this using LaTeX, but ...
>
>        figure (1)
>        clf
>        surf (peaks)
>        drawnow ('tikz', 'plot.tikz', false, 'gnuplot.gp')
>
> ... will produce a "plot.tikz" file. I don't have a copy of 3.2.2 available 
> to try, but even though 3.0.5 throws a gnuplot error, the file is produced.
>
> Please do report back if this works for you.
>
> Ben
>
>



reply via email to

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