[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory Allocation, Plotting
From: |
Kai Habel |
Subject: |
Re: Memory Allocation, Plotting |
Date: |
Sat, 25 Nov 2000 14:02:10 +0100 |
Thomas Viehmann wrote:
>
> Hi,
>
> I'm using "debianized" Octave 2.1.31 and encountered two problems:
> 1. How can I change the labels "line x" in my plots?
> 2. I've tried a "diag(x)" with a 10000 item vector (yes, that
> was part of a somewhat awkward attempt to avoid for loops)
> which resulted in (of course) an out-of-memory error. So the
> questions
> that I derived are
> - for my concrete problem: Is there an elegant way of
> calculating diag(x)*y with x Üin R^n, y Üin R^{n*m}?
> - for the diag problem in a more general way: are there
> routines/plans to implement routines for sparse matrices?
>
Hello Thomas,
1.)
i.e.
plot(x,y,'b;test;');
plots a blue line with key: "test"
2.) Have you looked at the sparse package by Andy Adler. It uses the
SuperLU lib. You can download it from [1] or using anonymous cvs from
[2]. I just tried it for a real problem and it works very well (spline
approximation).
[1] http://users.powernet.co.uk/kienzle/octave/index.html
[2] http://sourceforge.net/cvs/?group_id=2888 (take the octave module)
hope this helps.
Bye Kai
--
Kai Habel
mailto:address@hidden
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------