[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to sombrero.m
From: |
John W. Eaton |
Subject: |
Patch to sombrero.m |
Date: |
Thu, 12 Oct 2006 17:51:28 -0400 |
On 12-Oct-2006, Quentin Spencer wrote:
| I've been experimenting with modifications to imagesc and surf to use
| the new gnuplot 4.2 features, and I like using the sombrero function to
| test them. The attached patch allows the sombrero function to return the
| function values without calling mesh if output arguments are supplied.
| This allows something like [x,y,z]=sombrero; surf(x,y,z);.
Thanks, I applied this patch.
| I also have a slightly related question--is there any way to get version
| information from gnuplot from within octave?
I suppose you could do something like start a gnuplot process and then
send it a command like
save "foo.g"
and then parse the resulting file. But that's kind of ugly.
jwe