[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xlim gives memory exhausted error when used after plotting (v3.4.3 MinGW
xlim gives memory exhausted error when used after plotting (v3.4.3 MinGW Windows)
Thu, 9 Feb 2012 04:43:59 -0800 (PST)
I encounter a problem, which I didn't using 3.4.2 MinGW.
It's a bit strange as I was not able to recreate the problem using a simple
example, but only with my measured values.
The m-file as well as the data is available from my website (don't know how
big a file attachment is allowed to be):
http://arsenal-of-wisdom.org/downloads/xlimerror.zip (~40 kB)
My code is pretty straightforward (after narrowing it down):
clear; close all;
semilogx(EstF, 20*log10(EstMag), 'b-')
The error is related to the xlim([minF maxF]) line and says:
error: memory exhausted or requested size too large for range of Octave's
index type -- trying to return to prompt
So something inside xlim goes wrong - my data is only a tiny 2623x1 for x
and y. And a total of 42kB used memory.
I noticed that if I place the xlim line before the plot command I don't get
an error message.
Is it required to put xlim before the plot commands?
View this message in context:
Sent from the Octave - General mailing list archive at Nabble.com.
- xlim gives memory exhausted error when used after plotting (v3.4.3 MinGW Windows),
Bernhard Weller <=