bugGNU Octave - Bugs: bug #40971, scatter fails in gnuplot when all...


bug #40971: scatter fails in gnuplot when all points are the same color

Submitted by:  Rik <rik5>
Submitted on:  Thu 19 Dec 2013 02:41:39 PM UTC  
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  3.6.4 Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 17 Nov 2015 11:46:35 PM UTC, comment #2:

Marked as fixed. Closing report.

Rik <rik5>
Project Administrator
Tue 17 Nov 2015 09:54:34 PM UTC, comment #1:

scatter_tst (0)
works fine for me on Octave 4.0.

I have checked on Windows (both 4.0 and the dev branch) and
on Ubuntu (dev branch).

This report can be closed.

Avinoam Kalma <avinoam>
Project Member
Thu 19 Dec 2013 02:41:39 PM UTC, original submission:

Using the attached scatter_tst.m file, gnuplot fails in _gnuplot_drawnow_.

Steps to reproduce:

The scatter_tst.m file is attached and shown below.

Note that this only fails when n > 100 and _scatter_ is trying to compact the number of colors it uses when it calls patch(). Also, it only happens when there is a single unique color. If the variable tiny is changed, say to 0.1, then the code also works. Finally, this really is only gnuplot. OpenGL plotting using FLTK works just fine. Given that this is the default going forward this bug may be less critical.

Rik <rik5>
Project Administrator


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

Attach Files:

Attached Files
file #30045:  scatter_tst.m added by rik5 (213B - d2l/unknowntype)


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-17 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2013-12-19 rik5 Attached File- => Added scatter_tst.m, #30045

    Back to the top

    Powered by Savane 3.3