[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnuplot> nset obj 2 : invalid command
From: |
lo |
Subject: |
Re: gnuplot> nset obj 2 : invalid command |
Date: |
Mon, 19 Jul 2010 09:07:14 +0200 |
User-agent: |
KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; ) |
On Sunday 18 July 2010 23:59:48 David Bateman wrote:
> lo wrote:
> > hello,
> >
> > I have installed octave 3.3.51 on a Linux Suse 11.2;
> >
> > running the following (not representative of what I am doing or even
> > meaningful, I am simply trying to reduce my problem...)
> >
> >
> > h = figure;
> > t = 0:0.1:6.3;
> > for n = 1 : 9
> > hc = plot(t,cos(t), "o", "markersize", 3, "markerfacecolor", "g");
> > pause(1);
> > delete(hc);
> > end
> >
> >
> > I get 9 times
> >
> > gnuplot> nset obj 2
> > ^
> > line 0: invalid command
> >
> > in the octave window;
> >
> > how can I avoid this ?
> > thanks for the help !
>
> Something really strange is happening as the only occurence of "nset obj
> 2" is in the command "unset obj 2" which is valid... As I can't generate
> this same error with your code example I wonder if there is an error in
> the copy of scripts/plot/__go_draw_figure__.m supplied by Suse. Do you
> want to run 'grep "obj 2"' in the scripts/plot directory?
>
> D.
>
I could not find any directory with scripts/plot,
so I compiled gnuplot 4.4.0 and installed it, instead of relying on the RPM
provided by Suse;
and the issue does no longer arise ! solved;
moreover, the plotting is by several orders of magnitude faster !
thanks for your tip;
regards,
Laurent