help-octave
[Top][All Lists]
Advanced

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

Re: contourf


From: Quentin Spencer
Subject: Re: contourf
Date: Fri, 15 Jul 2005 08:39:12 -0500
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

Carine Simon wrote:

Hi all,

I don't understand how to include colours in a contourf plot. Is it possible ?
Another thing is: is there a way to do as Matlab i.e. precise the axes for
contourf. For example doing something like contourf(xaxis, yaxis, matrix)
A last point is that sometimes when I use contourf I get some errors like: error: expecting integer index, found 2.291667
error: evaluating argument list element number 1
error: called from `contourf' in file
`/usr/share/octave/2.1.71/site/m/octave-forge/plot/contourf.m'

then I juste type the same contourf command and everything works.

I am using octave 2.1.71 with the last octave-forge on Linux Fedora Core 3.
A last point by the way: is it normal that each time I start octave I get the
following warnings:
warning: gset is deprecated and will be removed from a future
warning: version of Octave.
warning: You should use the higher-level plot functions
warning: ("plot", "mesh", "semilogx", etc.) instead
warning: of the low-level plotting commands.
warning: If you absolutely must use this function, use the
warning: internal version __gnuplot_set__ instead.

I don't know the answer to your contourf question, but the warnings are due to the internal switch in octave from gset to __gnuplot_set__ which occured I think at 2.1.69. Are you using the package I made at ftp://coffee.phys.unm.edu/pub/octave ? I thought I had removed all references to gset in the newest package, but maybe I missed one. I've upgraded to FC4, so I probably won't be updating those packages any more. If you ever see this problem with the FC4 package, let me know and I'll look into it.

-Quentin



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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