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

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

[Octave-bug-tracker] [bug #54937] plotting fails with -W (--no-window-sy


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #54937] plotting fails with -W (--no-window-system)
Date: Fri, 2 Nov 2018 01:37:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0

URL:
  <https://savannah.gnu.org/bugs/?54937>

                 Summary: plotting fails with -W (--no-window-system)
                 Project: GNU Octave
            Submitted by: cbm
            Submitted on: Fri 02 Nov 2018 05:36:59 AM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This is with "hg id: 38a881b8fbec".

If I start with "--no-window-system", Octave used to use some ascii art (via
gnuplot I believe).

Now I get:

>> t = linspace(0, 1, 10);
>> plot(t,sin(t))
error: max_recursion_depth exceeded
error: called from
    __gnuplot_drawnow__ at line 91 column 9


In Octave 4.4.2, I get:

octave:1> t = linspace(0, 1, 10);
octave:2> plot(t,sin(t))                                  
                                                    
   1 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   
     >        +       +        +       +        >   
     >                                        ***   
 0.8 >-+                                 *****+->   
     >                              *****       >   
 0.6 >-+                        ****          +->   
     >                     *****                >   
     >                 ****                     >   
 0.4 >-+             **                       +->   
     >           ****                           >   
 0.2 >-+      ***                             +->   
     >      **                                  >   
     >  ****  +       +        +       +        >   
   0 ***>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   
     0       0.2     0.4      0.6     0.8       1   
                                                                              
                           


Probably no one really uses these sorts of things anymore but they are useful
in automated testing.

Downstream bug: https://github.com/cbm755/octsympy/issues/915

I have not bisected this yet but it must be somewhat recent (last couple
months), maybe 
http://hg.savannah.gnu.org/hgweb/octave/rev/811e094ba676






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54937>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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