help-octave
[Top][All Lists]
Advanced

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

Re: overlayed plots in multi-plots and ...


From: Mr. Stone
Subject: Re: overlayed plots in multi-plots and ...
Date: Thu, 10 Aug 2006 21:29:32 +0000

Thanks Dmitri,

That's pretty amazing!  I could get such a quick answer from group and you.
with the configuration of automatic_replot = 0 in .octaverc, now i get no overlay plots! But top_title("Test top title") still can not show, I also try to download the latest version octave octave-2.1.71-2.i586.rpm, but I have to upgrade my whole system for relevant LIBs.

For my last question: I have mydata.dat like that:
------------------------
#DATA1
123.00  456.00
23.02    2323.00
123.0   324.23
... ...
#ENDDATA

#DATA2
23.10     56.00
423.02   323.00
823.0     34.23
... ...
#ENDATA
------------------
Normally i use gnuplot:

plot "mydata.dat" every :::0::0 w l, "mydata.dat" every :::1::1 w l, ...

But if I use octave:

a= load "mydata.dat";

I get only 2 columns of data, not in data blocks or in a matrix.

How could I make it? Can I find some examples anywhere?

Best regards and thanks again...


Stein

From: "Dmitri A. Sergatskov" <address@hidden>
To: "Mr. Stone" <address@hidden>
Subject: Re: overlayed plots in multi-plots and ...
Date: Thu, 10 Aug 2006 14:21:42 -0600

On 8/10/06, Mr. Stone <address@hidden> wrote:
Hi, group

I'v just installed GNU Octave, version 2.1.57 (i686-suse-linux). My problem
                                                      ^^^^^^^
This is pretty old.

is about multiplot with subplot:
#---------------
x=0:0.1:10;
subplot(2,2,1);
plot(x, sin(x));
#
subplot(2,2,1);
plot(x, cos(x));
...
#---------------
I always get overlayed plot of sin(x) and cos(x) in the 2nd plot and so on. I suppose it should be sth. wrong from the configuration in .octaverc ? I'v
tried in my office red hat and cygwin, but they have not such a problem.


Quich fix -- set
automatic_replot = 0

(the problem was fixed in a later version. I guess you have 2.1.73 in cygwin)

I also found top_title does not function in multiplot!

automatic_replot = 0

may (or may not :) help here as well.
In any case you need to be more specific -- what does it mean "does
not function"?


Is there also a 'every' function in octave like that in gnuplot, so that I
can plot the data blocks from a data file? If not, how could I make it?


gnuplot plots data from a file. Octave plots variables.
You need to read your file into a matrix and then manipulate
the matrix so you will get the data in the desired form.

Thanks for any tips.

BTW:It is a pity that no search engine for all help achives.


I usually use google. You can specify "site:octave.org" in your search queries.

Sincerely,

Dmitri.
--

_________________________________________________________________
E-Mails von jedem Internet-PC weltweit verschicken - einfach, sicher und kostenlos! - http://www.msn.de/email Kostenlos anmelden!



reply via email to

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