bugGNU Octave - Bugs: bug #50616, colorbar is blank for fltk/qt...

 
 

bug #50616: colorbar is blank for fltk/qt toolkits on png print

Submitted by:  A.R. Burgers <arb>
Submitted on:  Wed 22 Mar 2017 10:12:44 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 28 Mar 2017 07:05:43 PM UTC, comment #6:

yes, an upgrade to gl2ps 1.3.9 did fix the issue.
Thanks for the pointer.

A.R. Burgers <arb>
Tue 28 Mar 2017 03:42:36 PM UTC, comment #5:

I agree with Dmitri. gl2ps-1.3.5 is very old. If version 1.3.9 isn't available in your Linux distribution then I found it wasn't very hard to build.

Rik <rik5>
Project Administrator
Tue 28 Mar 2017 07:07:49 AM UTC, comment #4:

This is very old. Please upgrade to at least 1.3.9

Dmitri.

Dmitri A. Sergatskov <dasergatskov>
Tue 28 Mar 2017 06:38:15 AM UTC, comment #3:

gl2ps.h version info in gl2ps.h header:

problem occurs for me with 4.3.0, 4.2.1, dev.
dev has hg_id 34c75889ed50+

Issue occurs not only for png, but also for .ps and .jpg output

A.R. Burgers <arb>
Mon 27 Mar 2017 08:09:33 PM UTC, comment #2:

This also works for me. What version of gl2ps are you building with? And what Mercurial cset are you building from? You can use 'hg id' to get it.

Rik <rik5>
Project Administrator
Wed 22 Mar 2017 10:21:26 PM UTC, comment #1:

That seems to work fine on Fedora 25 with octave snapshot
"4adb9517d56a" (as well as wtih 4.2.1)

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 22 Mar 2017 10:12:44 PM UTC, original submission:

See attached script cb.m, and attached png prints.

The scripts produces a contourf with associated colorbar for each of the 3 graphics toolkits.

The contour plots and colorbar look fine interactively for all toolkits, on print to png for fltk and qt the colorbar becomes blank, for gnuplot the colorbar looks good.

A.R. Burgers <arb>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #40083:  colorbar-fltk.png added by arb (55KiB - image/png)
file #40084:  colorbar-qt.png added by arb (55KiB - image/png)
file #40085:  colorbar-gnuplot.png added by arb (66KiB - image/png)
file #40086:  cb.m added by arb (289B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by dasergatskov (Posted a comment)
  • -unavailable- added by arb (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Mar 2017 07:31:11 PM UTCrik5Open/ClosedOpen=>Closed
    Mon 27 Mar 2017 08:09:33 PM UTCrik5StatusNone=>Works For Me
    Wed 22 Mar 2017 10:12:44 PM UTCarbAttached File-=>Added colorbar-fltk.png, #40083
      Attached File-=>Added colorbar-qt.png, #40084
      Attached File-=>Added colorbar-gnuplot.png, #40085
      Attached File-=>Added cb.m, #40086

    Back to the top


    Powered by Savane 3.1-cleanup1