octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35142] plotyy / polar demo failure


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #35142] plotyy / polar demo failure
Date: Wed, 21 Dec 2011 10:49:50 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0

URL:
  <http://savannah.gnu.org/bugs/?35142>

                 Summary: plotyy / polar demo failure
                 Project: GNU Octave
            Submitted by: matzeri
            Submitted on: Wed 21 Dec 2011 10:49:49 AM GMT
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

continuing the test of demos on latest dev, I noticed
that plotyy cause the next demo to fail:

------------------------------------------------------
octave:14> demo /pub/hg/octave/scripts/plot/plotyy.m
octave:15> demo /pub/hg/octave/scripts/plot/polar.m
/pub/hg/octave/scripts/plot/polar.m example 1:
 theta = linspace (0, 2*pi, 1000);
 rho = sin (7*theta);
 polar (theta, rho);

error: invalid conversion from real matrix to real scalar
error: __calc_dimensions__: expecting graphics handle as only argument
error: called from:
error:   /usr/local/share/octave/3.5.90+/m/plot/private/__go_draw_axes__.m at
line 55, column 8
error:   /usr/local/share/octave/3.5.90+/m/plot/private/__go_draw_figure__.m
at line 167, column 19
error:   /usr/local/share/octave/3.5.90+/m/plot/__gnuplot_drawnow__.m at line
86, column 5
error: input: reading user-input failed!
error:   /usr/local/share/octave/3.5.90+/m/testfun/demo.m at line 119, column
7
----------------------------------------------------

while adding clf
--------------------------------------------------
octave:16> demo /pub/hg/octave/scripts/plot/plotyy.m
octave:17> clf
octave:18> demo /pub/hg/octave/scripts/plot/polar.m
--------------------------------------------------
works fine.

Not clear if it is a more general  plotyy side effect,
or should be better to add a clf in rundemos just to 
stay on safe side





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35142>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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