bugGNU Octave - Bugs: bug #38584, setting linestyle to...

 
 

bug #38584: setting linestyle to "none" for fill object causes error (gnuplot)

Submitted by:  None
Submitted on:  Mon 25 Mar 2013 02:07:37 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: John SchneelochOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 25 Jan 2014 05:06:20 AM UTC, comment #3:

Fill is just a front end for the patch function. It seems that _gnuplot_drawnow_ does not properly handle patches where the linestyle is "none". Here is the same example done with patch.

I don't use the gnuplot backend anymore but it seems like the first part of the intstructions are correct to draw an object with color #ff0000 (red). It seems to me like the entire second part of the plot command beginning after the ',' could be removed.

Rik <rik5>
Project Administrator
Fri 24 Jan 2014 09:11:43 PM UTC, comment #2:

Still present on the development version of Octave. However, I don't get a crash or freeze. Gnuplot prints the error shown in the original report and control is returned to the Octave interpreter. However, this might behave differently on MacOS, the OP's system.

Mike Miller <mtmiller>
Project Member
Mon 25 Mar 2013 03:16:01 PM UTC, comment #1:

Confirmed on a recent development version (3/24/13) as well. This only affects gnuplot. The FLTK toolkit plots this shape without problem.

Rik <rik5>
Project Administrator
Mon 25 Mar 2013 02:07:37 AM UTC, original submission:

The following code

results in the following error

and then it freezes until I press ctrl+c. Setting linestyle to other options (e.g., ":") works correctly, and setting linestyle to "none" for ordinary plots (e.g., h=plot(1:10); set(h,"linestyle","none")) also works as expected. I'm not sure why it doesn't work in this instance.

I'm using Octave 3.6.4 with Mac OS X 10.7.5. Here's what I get with the "ver" command:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (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
    Fri 24 Jan 2014 09:11:43 PM UTCmtmillerItem GroupCrash=>Incorrect Result
      Release3.6.4=>dev
      Operating SystemMac OS=>Any
    Fri 11 Oct 2013 04:58:08 PM UTCrik5Summarysetting linestyle to "none" for fill object causes error=>setting linestyle to "none" for fill object causes error (gnuplot)
    Mon 25 Mar 2013 03:16:01 PM UTCrik5CategoryPlotting=>Plotting with gnuplot
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup