bugGNU Octave - Bugs: bug #42575, gnuplot error on "demo...

 
 

bug #42575: gnuplot error on "demo pie3"

Submitter:  Hartmut <hardy>
Submitted:  Tue 17 Jun 2014 11:57:58 AM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  3 - Low Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 17 Jun 2014 07:09:19 PM UTC, comment #3: 

I've been working a lot on improving the OpenGL plotting, but it's true that a lot of the fixes are still ond the development branch and won't be released until 4.2.

Rik <rik5>
Group administrator
Tue 17 Jun 2014 05:04:11 PM UTC, comment #2: 

Thanks for the hint, Rik. I also try to slowly move over to fltk. But my current installation still has gnuplot as default, since the fltk plots still have some esthetic drawbacks (linewidth, fontsize), which I heard will be fixed.

So currently I'll report gnuplot errors in octave along the way, when I hit them. But I won't get upset if noone makes it his priority to fix them.

Hartmut <hardy>
Tue 17 Jun 2014 03:28:45 PM UTC, comment #1: 

I notice you have filed several bugs against plotting with gnuplot.  Octave has been moving away from gnuplot steadily since the 3.6.X series.  Partly because the interface is slow as it has to be run over pipes.  And partly because we don't have as much control over the appearance as we do with the much more tightly integrated OpenGL plot engines in FLTK or Qt.  It's fine to report these, but I know the core developers aren't working on further gnuplot integration.

Rik <rik5>
Group administrator
Tue 17 Jun 2014 11:57:58 AM UTC, original submission:  

Here is how to reproduce the behavior:


graphics_toolkit('gnuplot');
demo pie3


Instead of some nice 3d pie charts I only get an error message:


1>> demo pie3
pie3 example 1:
 clf;
 pie3 ([5:-1:1], [0, 0, 1, 0, 0]);
 colormap ([1,0,0;0,1,0;0,0,1;1,1,0;1,0,1;0,1,1]);
 title ('pie3() with exploded wedge');

error: __go_draw_axes__: gnuplot (as of v4.2) only supports 3-D filled triangular patches
error: called from:
error:   /opt/octave-3.8.1/scripts/plot/util/private/__go_draw_axes__.m at line 655, column 18
error:   /opt/octave-3.8.1/scripts/plot/util/private/__go_draw_figure__.m at line 172, column 17
error:   /opt/octave-3.8.1/scripts/plot/util/__gnuplot_drawnow__.m at line 86, column 5
error: input: reading user-input failed!
error:   /opt/octave-3.8.1/scripts/testfun/demo.m at line 124, column 7


This only happens with gnuplot. Fltk plots seem to be fine.

This happened with the octave release 3.8.1 as well as the current pre-release 3.8.2-rc1 under Ubuntu Linux. I don't know if it happens under Windows as well.

I use Gnuplot 4.6.1-1 (package 4.6.1-1~precise1 from the standard repository of Ubuntu 12.04).

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by hardy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-27 mtmiller Carbon-CopyRemoved 80942 -
    2018-04-27 mtmiller Priority5 - Normal 3 - Low
        Release3.8.1 dev
    2016-02-28 rik5 Dependencies- Depends on bugs #45594
    2014-06-17 rik5 StatusNone Confirmed

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code