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 Dec 19 14:41:39 2013  
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.6.4Operating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Nov 17 23:46:35 2015, comment #2:

Marked as fixed. Closing report.

Rik <rik5>
Project Administrator
Tue Nov 17 21:54:34 2015, 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 Dec 19 14:41:39 2013, 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 File(s):

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
  • -unavailable- added by avinoam (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to 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
    Tue Nov 17 23:46:35 2015rik5StatusConfirmed=>Fixed
    Thu Dec 19 14:41:39 2013rik5Attached File-=>Added scatter_tst.m, #30045

    Back to the top

    Powered by Savane 3.1-cleanup1