bugGNU Octave - Bugs: bug #52140, gnuplot toolkit produces improper...

 
 

bug #52140: gnuplot toolkit produces improper syntax when there is a single tic mark

Submitted by:  Dan Sebald <sebald>
Submitted on:  Thu 28 Sep 2017 08:55:46 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unexpected Error
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 28 Sep 2017 10:26:35 PM UTC, comment #5:

Yes, I'll fix that within the next day and post a new bug report. For my reverence, the important difference when there are no xtics and ytics, via drawnow is that

The arrows, should still be present.

Dan Sebald <sebald>
Thu 28 Sep 2017 10:01:46 PM UTC, comment #4:

Aaah, okay. I checked with the following example and the patch does fix the problem.

I checked in the change here (http://hg.savannah.gnu.org/hgweb/octave/rev/2cc851e8e03f).

Incidentally, the following code produces a blank figure in gnuplot, but not in qt or fltk.

Do we care? If you have an actual object, like a line, then the axes doesn't disappear even when the ticks do.

Rik <rik5>
Project Administrator
Thu 28 Sep 2017 09:42:03 PM UTC, comment #3:

My code had both a fix for #52135 and this. I selected only the toolkit mods for this patch.

Dan Sebald <sebald>
Thu 28 Sep 2017 09:35:42 PM UTC, comment #2:

With or without patch, I get an error when trying to execute the sample code.

With patch:

This is on the development branch (392afc740749), gnuplot 5.0.3, GNUTERM=qt.

Rik <rik5>
Project Administrator
Thu 28 Sep 2017 09:01:54 PM UTC, comment #1:

Patch attached.

(file #41953)

Dan Sebald <sebald>
Thu 28 Sep 2017 08:55:46 PM UTC, original submission:

While debugging something having to do with bar(), I came across the following (any code that produces a single tic should do):

where "multiplot" is a gnuplot stdout output, not an Octave stderr output.

Dan Sebald <sebald>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

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 sebald (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 28 Sep 2017 10:01:46 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 28 Sep 2017 09:35:42 PM UTCrik5StatusNone=>Confirmed
    Thu 28 Sep 2017 09:01:54 PM UTCsebaldAttached File-=>Added octave-gnuplot_single_tic-djs2017sep28.patch, #41953

    Back to the top


    Powered by Savane 3.1-cleanup1