compile error please help more help

Carlo de Falco carlo.defalco at gmail.com
Sun Dec 14 07:08:33 CST 2008


On 14/dic/08, at 12:32, Doug Stewart wrote:

> It is returning "4.2." on my system because that is what is Installed.
>
> Does Octave expect gnuplot 4.0.x ?
>
>
> Doug

Doug,
I beleive that it's rather the spurious dot at the end of the version  
string that is creating problems:

 >> compare_versions ("4.2.","4.0",">=")
error: compare_versions: given version strings are not valid: 4.2. 4.0
error: evaluating if command near line 114, column 3
error: called from `compare_versions' in file `/Applications/ 
Octave.app/Contents/Resources/share/octave/3.0.3/m/miscellaneous/ 
compare_versions.m'
 >> compare_versions ("4.2","4.0",">=")
ans =  1

On my system __gnuplot_version__ returns 4.2
and from the shell I get

guglielmo.local $ gnuplot --version
gnuplot 4.2 patchlevel 3

what does gnuplot --version say for you?
c.




More information about the Help-octave mailing list