octave-maintainers
[Top][All Lists]
Advanced

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

Octave/Win32 new binary package (2.9.12)


From: Arsenio Cesista
Subject: Octave/Win32 new binary package (2.9.12)
Date: Thu, 31 May 2007 00:09:31 -0700 (PDT)

Hi,
I downloaded the new binary and tried it on my laptop
(Windows XP SP2).  Here are some of the things I
observed.

1.  Installation

There is a prompt for choosing which linear algebra
libraries should be used but there are only two
choices - one for generic and the other for P4 - the
Octave 2.9.9+ installer included one for Pentium M.

2.  Plotting

I tried the sombrero function and got this message:

octave.exe:1>sombrero(41)
Could not enable OpenGL pipeline for default config on
screen 0
octave.exe:2>

I also tried running one of my old scripts for the
Lorenz equations and got the following messages below:

Could not enable OpenGL pipeline for default config on
screen 0
Exception in thread "AWT-EventQueue-0"
java.util.ConcurrentModificationException
        at
java.util.AbstractList$Itr.checkForComodification(Unknown
Source)
        at java.util.AbstractList$Itr.next(Unknown
Source)
        at
org.octave.graphics.FigureObject.reshape(FigureObject.java:297)
        at
org.octave.graphics.GLRenderCanvas.reshape(GLRenderCanvas.java:74)
        at
com.sun.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:85)
        at
javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:277)
        at
com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
        at
javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:258)
        at
javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
        at
javax.media.opengl.GLCanvas.paint(GLCanvas.java:142)
        at sun.awt.RepaintArea.paintComponent(Unknown
Source)
        at sun.awt.RepaintArea.paint(Unknown Source)
        at
sun.awt.windows.WComponentPeer.handleEvent(Unknown
Source)
        at
java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown
Source)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
        at
java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
        at java.awt.EventDispatchThread.run(Unknown
Source)
error: java exception occured
Exception in thread "main"
org.octave.graphics.PropertyException: property not
found - zlabel
        at
org.octave.graphics.PropertySet.set(PropertySet.java:67)
        at
sun.reflect.GeneratedMethodAccessor3.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
        at java.lang.reflect.Method.invoke(Unknown
Source)
        at
org.octave.ClassHelper.invokeMethod(ClassHelper.java:91)
        at
org.octave.ClassHelper.invokeMethod(ClassHelper.java:135)
error: evaluating for command near line 23, column 7
error: evaluating if command near line 22, column 5
error: evaluating for command near line 20, column 3
error: called from `oplot_set' in file `C:\Program
Files\Octave\share\octave\packages\oplot-gl-0.2.0
\oplot_set.m'
error: called from `__axis_label__' in file
`C:\Program
Files\Octave\share\octave\packages\oplot-gl-
0.2.0\__axis_label__.m'
error: evaluating if command near line 30, column 5
error: evaluating if command near line 29, column 3
error: called from `zlabel' in file `C:\Program
Files\Octave\share\octave\2.9.12\m\plot\zlabel.m'
error: near line 64 of file `C:\Program
Files\Octave\share\octave\site\m\run_lorenza.m'
octave.exe:2>


Here is the code that got the error message displayed
above:


clear
clc
close all

disp('- Numerical solution to the Lorenz equations
represented by the following ODEs:')
disp('- dx/dt=s*(y-x), dy/dt=r*x-y-x*z,
dz/dt=-b*z+x*y')
disp('- having the parameters: s=10, r=28, b=8/3 and
t=0 to 30')
disp('- ODE solver used was lsode.')
disp(' ')

points = 500;
count=1:1:points;

%initial values
t0=0; tf=30;
x0=[-15 -15 28];

t_begin=cputime;

%integration
lsode_options('absolute tolerance',1e-10);
lsode_options('relative tolerance',1e-7);
lsode_options('integration method','stiff');
t=linspace(t0,tf,points);
x=lsode('lorenza',x0,t);

t_calc=cputime-t_begin;

results=[count' t' x];

%comments and numerical values
disp('...the results are...')
disp('      count         t           x            y  
       z')
disp([results]) % print numerical values of solution
disp('...integration time, in seconds...')
disp([t_calc])
disp('- See figure window for the graphical
representation of the results.')

%plotting results
subplot (2,2,1)
plot (x(:,1),x(:,2))
grid on
xlabel('x'); % add some labels
ylabel('y');

subplot (2,2,2)
plot (x(:,2),x(:,3))
grid on
xlabel('y')
ylabel('z')

subplot (2,2,3)
plot (x(:,1),x(:,3))
grid on
xlabel('x')
ylabel('z')

subplot (2,2,4)
plot3 (x(:,1),x(:,2),x(:,3))
grid on
xlabel('x');
ylabel('y');
zlabel('z');

Regards,
Arsenio




       
____________________________________________________________________________________Yahoo!
 oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


reply via email to

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