bugGNU Octave - Bugs: bug #48832, gnuplot 4.6 produces monochrome...


bug #48832: gnuplot 4.6 produces monochrome prints

Submitter:  Andreas Weber <andy1978>
Submitted:  Sat 20 Aug 2016 08:21:16 AM UTC
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Sat 27 Aug 2016 09:46:43 PM UTC, comment #6: 

I've checked 52c205a0ad88 and the issue seems fixed.
Also updated http://josoansi.de/octave_plot_compare/compare_plot_demos_01.html

Closing as fixed

Andreas Weber <andy1978>
Group Member
Wed 24 Aug 2016 03:38:52 AM UTC, comment #5: 

Since it seems like an easy fix, I lowered the gnuplot version to 4.6 in _gnuplot_has_feature_ (http://hg.savannah.gnu.org/hgweb/octave/rev/f7ff29ff2763).

Rik <rik5>
Group administrator
Sun 21 Aug 2016 05:17:38 PM UTC, comment #4: 

I've added Dan Sebald to the CC list.  Certainly this used to work back in 4.0.3 so this is a regression.

Rik <rik5>
Group administrator
Sun 21 Aug 2016 05:48:01 AM UTC, comment #3: 

In __gnuplot_has_feature__.m, line 52,
gnuplot's property "needs_color_with_postscript" is set to 5.0.
If I change it to 4.6, and use the command

print -dpsc out.ps

I get a color image (print out.ps still produced a gray postscript file, why?)

I think that the property "needs_color_with_postscript"  should be set to even lower gnuplot version, but I do not have 4.4 or 4.2 installed now to check

Avinoam Kalma <avinoam>
Group Member
Sun 21 Aug 2016 04:46:42 AM UTC, comment #2: 

Confirmed.  4.6 fails, 5.0.3 works.

Rik <rik5>
Group administrator
Sat 20 Aug 2016 08:48:45 PM UTC, comment #1: 

See also bug #48033 for a much broader issue of recent changes not working with gnuplot 4 on the current default branch.

Mike Miller <mtmiller>
Group Member
Sat 20 Aug 2016 08:21:16 AM UTC, original submission:  

hg id 2e49ab3d6b48 somewhere lost the ability to print colored plots with gnuplot 4.6

graphics_toolkit gnuplot
plot (1:10, ";;", 1:3:10)
print out.png

produces the attached png. The plot onscreen looks fine. Mike told me on IRC, that the print is colored as usual with gnuplot 5.0.3

Andreas Weber <andy1978>
Group Member


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

Attach Files:

Attached Files
file #38289:  out.png added by andy1978 (21KiB - image/png)


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 (Posted a comment)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by andy1978 (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 project members can vote.


    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-27 andy1978 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-08-24 rik5 Severity4 - Important 3 - Normal
        StatusConfirmed Ready For Test
    2016-08-21 rik5 Severity3 - Normal 4 - Important
        Item GroupIncorrect Result Regression
    2016-08-21 rik5 StatusNone Confirmed
        Carbon-Copy- Added sebald
    2016-08-20 andy1978 Attached File- Added out.png, #38289

    Back to the top

    Powered by Savane 3.12