bugGNU Octave - Bugs: bug #42063, Gnuplot-compatible command does...

 
 

bug #42063: Gnuplot-compatible command does not work with FLTK

Submitted by:  Max Görner <maxg>
Submitted on:  Mon 07 Apr 2014 08:50:00 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.0Operating 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 08 Apr 2014 04:56:35 PM UTC, comment #7:

Oops, you are right. I was misled by my
own example. Time to fix #41128...

Michael Godfrey <godfrey>
Project Member
Tue 08 Apr 2014 12:59:28 PM UTC, comment #6:

Actually it is clear from this example that fltk does operate on h as a vector. If you run the snippet over i = 1:4, there is no error.

The error is due to the (5,1,4) subplot disappearing when the (5,1,5) subplot is drawn, and therefore h(4) no longer refers to a valid graphics handle. This is exactly the same as bug #41128.

Mike Miller <mtmiller>
Project Administrator
Tue 08 Apr 2014 08:38:25 AM UTC, comment #5:

Not to worry. It is clear that fltk does not
understand h as a vector. After that is fixed
the question of the correctness of the
sub plots can be looked at.

Michael Godfrey <godfrey>
Project Member
Tue 08 Apr 2014 08:11:08 AM UTC, comment #4:

I'm very sorry.

I hope this helps.

Max Görner <maxg>
Mon 07 Apr 2014 06:33:12 PM UTC, comment #3:

Agree with Jordi here, please always say what the error you are seeing is. As it is, I have to assume that the error you are getting is the same as what I'm getting.

Nevertheless, running your example gives me the following error:

and an obviously missing subplot(4,1,4). Assuming that's the error you are seeing, all this points to this being exactly the same as bug #41128, so closing as duplicate.

Mike Miller <mtmiller>
Project Administrator
Mon 07 Apr 2014 05:38:39 PM UTC, comment #2:

https://secure.phabricator.com/book/phabflavor/article/please_please_please/

Jordi Gutiérrez Hermoso <jordigh>
Project Administrator
Mon 07 Apr 2014 10:11:29 AM UTC, comment #1:

Confirmed in current devel system.

for i=1:5
h(i) = subplot(5,1,i);
plot(rand(1,20));
set(h(i), 'box','off');
end
works. So, it appears at least that fltk
does not handle the vector case correctly.

Michael Godfrey <godfrey>
Project Member
Mon 07 Apr 2014 08:50:00 AM UTC, original submission:

Hey there,
I was looking for some help and found the following code:

(http://www.mathworks.com/matlabcentral/newsreader/view_thread/152521)

Let us ignore the fact, that 'linkaxes' is missing. If I set

Max Görner <maxg>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by maxg (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Apr 2014 06:33:12 PM UTCmtmillerCategoryPlotting=>Plotting with OpenGL
      StatusNeed Info=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #41128
    Mon 07 Apr 2014 05:38:39 PM UTCjordighStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1