bugGNU Octave - Bugs: bug #52170, gnuplot graphics toolkit multiple...

 
 

bug #52170: gnuplot graphics toolkit multiple axes do not align

Submitted by:  Dan Sebald <sebald>
Submitted on:  Wed 04 Oct 2017 07:49:44 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
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.

 

Sun 15 Oct 2017 12:27:34 AM UTC, comment #5:

Great. I pushed the patch here (http://hg.savannah.gnu.org/hgweb/octave/rev/9fab3273ff26). Marking this bug and bug #52186 as fixed.

Rik <rik5>
Project Administrator
Sat 14 Oct 2017 11:18:36 PM UTC, comment #4:

Sorry, there was some debugging cruft in the previous patch. New one attached.

(file #42156)

Dan Sebald <sebald>
Sat 14 Oct 2017 11:12:38 PM UTC, comment #3:

All right, a second version of the patch that clears the arrows at the beginning of the plot. This solves the issue found in

https://savannah.gnu.org/bugs/?52186

where an annotation is added to the plot.

(file #42155)

Dan Sebald <sebald>
Sat 14 Oct 2017 10:56:30 PM UTC, comment #2:

Wait for me to confirm that patch. I'm trying the example in

https://savannah.gnu.org/bugs/?52186

right now and that seems like the exact same issue, i.e., the arrows are being remembered between plots. There may need to be a second location where the arrows are cleared...

Dan Sebald <sebald>
Sat 14 Oct 2017 10:33:58 PM UTC, comment #1:

This first patch is to address item 2 in the original submission. gnuplot remembers arrow settings between plots. So a plot with multiple axes is going to retain axes (arrows) unless there is a command that clears all previous arrows. Use the original example before and after the patch to see the difference.

In a follow-up patch I will address the position alignment.

(file #42149)

Dan Sebald <sebald>
Wed 04 Oct 2017 07:49:44 PM UTC, original submission:

There looks to be multiple issues with the following:

1) The two axes don't align even though I specified they should have the same position.

2) There is a vestigial blue border for the second plot when I specified box off. It's odd that the following doesn't have that border:

Dan Sebald <sebald>

 

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

Attach File(s):
   
   
Comment:
   

 

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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Oct 2017 12:27:34 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 14 Oct 2017 11:18:36 PM UTCsebaldAttached File-=>Added octave-gnuplot_persistent_axes-djs2017oct16.patch, #42156
    Sat 14 Oct 2017 11:12:38 PM UTCsebaldAttached File-=>Added octave-gnuplot_persistent_axes-djs2017oct15.patch, #42155
    Sat 14 Oct 2017 10:33:58 PM UTCsebaldAttached File-=>Added octave-gnuplot_persistent_axes-djs2017oct14.patch, #42149

    Back to the top


    Powered by Savane 3.1-cleanup1