[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is axes() required before plot when using child of axes on Octave 3.
From: |
Rafael Laboissiere |
Subject: |
Re: Is axes() required before plot when using child of axes on Octave 3.0.4? |
Date: |
Sun, 22 Feb 2009 00:12:59 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Rafael Laboissiere <address@hidden> [2009-02-21 23:33]:
> * Tatsuro MATSUOKA <address@hidden> [2009-02-21 08:15]:
>
> > I have tried to use the script attached to this mail.
> >
> > I add two 'axes' commands in lines 45 and 61.
> >
> > For octave 3.0.2 (mingw: Bejamin), the 'axes' commands are not needed.
> > For octave 3.0.3(MSVC and cygwin), 'hold on' was not effective without the
> > axes command before hold
> > on.
> > For octave 3.0.4(mingw, Built by myself), plot did not appreared because of
> > errors.
>
> Your script runs fine in my Debian sid system with octave 3.0.4-rc4.
Actually, it fails at the end:
octave:1> source("exdiff.m")
Simulation of Temperature distribution in one dimensional thermal diffusion
Thermal Diffusion Constant : 1.7500 cm^2/s
Length : 10.0000 cm
Number of divided of x range : 100
Value of parameter lambda : 0.1667
Number of time iteration : 30000
File name to save data : Tsave.txt
Press any key to continue
error: get: invalid handle (= 6.93568e-310)
error: evaluating assignment expression near line 1414, column 9
error: evaluating for command near line 1413, column 3
error: called from `__go_draw_axes__:__calc_dimensions__' in file
`/usr/share/octave/3.0.4/m/plot/__go_draw_axes__.m'
error: evaluating assignment expression near line 297, column 8
error: evaluating if command near line 25, column 3
error: called from `__go_draw_axes__' in file
`/usr/share/octave/3.0.4/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 58, column 4
error: evaluating for command near line 56, column 2
error: evaluating if command near line 33, column 7
error: evaluating if command near line 26, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_figure__' in file
`/usr/share/octave/3.0.4/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 81, column 6
error: evaluating if command near line 78, column 4
error: evaluating if command near line 76, column 2
error: evaluating for command near line 75, column 7
error: evaluating if command near line 45, column 5
error: called from `drawnow' in file `/usr/share/octave/3.0.4/m/plot/drawnow.m'
--
Rafael