octave-maintainers
[Top][All Lists]
Advanced

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

R: Is axes() required before plot when using child of axes on Octave 3.0


From: Marco Atzeri
Subject: R: Is axes() required before plot when using child of axes on Octave 3.0.4?
Date: Sat, 21 Feb 2009 06:28:21 +0000 (GMT)

--- Sab 21/2/09, Tatsuro MATSUOKA  ha scritto:

> Da: Tatsuro MATSUOKA <address@hidden>
> Oggetto: Is axes() required before plot when using child of axes on Octave 
> 3.0.4?
> A: "Jaroslav Hajek" <address@hidden>, address@hidden
> Cc: "MATSUOKA Tatsuro" <address@hidden>
> Data: Sabato 21 febbraio 2009, 00:15
> Hello
> 
> 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.
> 
> error: axes: expecting argument to be axes handle
> error: evaluating if command near line 46, column 5
> error: evaluating if command near line 30, column 3
> error: called from `axes' in file
> `C:\Programs\msys\1.0\local\octave-3.0.4RC4\share\octave\3.0.4\m\plot\axes.m'
>   :
>   :
> After I noticed 'error: axes: expecting argument to be
> axes handle', I add two axes commands.
> 
> Is axes() command  required to plot correctly when I would
> use axis and so on ?
> 
> Anyway adding axes() seems to be reuired for the
> octave-3.0.4 So I will rewrite scripts.
> 
> Regards
> 
> Taturo


Hi Tatsuro,
also with the second axes() the script crash on 
cygwin 3.0.4-rc4 while it is fine on cygwin 3.0.3

error: get: invalid handle (= 8.0499e-315)
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 
`/pub/cygports/octave/octave-3.0.4-2/src/octave-3.0.4/scripts/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 
`/pub/cygports/octave/octave-3.0.4-2/src/octave-3.0.4/scripts/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 
`/pub/cygports/octave/octave-3.0.4-2/src/octave-3.0.4/scripts/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 
`/pub/cygports/octave/octave-3.0.4-2/src/octave-3.0.4/scripts/plot/drawnow.m'

so something is creating / using wrong graphics handles

Regards
Marco


      Passa a Yahoo! Mail.

La webmail che ti offre GRATIS spazio illimitato, 
antispam e messenger integrato.
http://it.mail.yahoo.com/              



reply via email to

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