bugGNU Octave - Bugs: bug #45850, Minor grid lines in wrong...

 
 

bug #45850: Minor grid lines in wrong locations when using manually set xticks

Submitted by:  Rik <rik5>
Submitted on:  Mon 31 Aug 2015 02:45:40 PM UTC  
 
Category: PlottingSeverity: 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.

 

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

Tue 01 Nov 2016 10:37:46 PM UTC, comment #8:

@Markus: Thanks for refreshing the patch. I pushed it on the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/0cbe4714ce1b). Fixed, closing report.

Rik <rik5>
Project Administrator
Fri 28 Oct 2016 12:43:47 PM UTC, comment #7:

The attached refreshed patch should apply cleanly on a current tip.

(file #38831)

Markus Mützel <mmuetzel>
Project Member
Fri 28 Oct 2016 04:40:07 AM UTC, comment #6:

I'm sorry to ask again, but could you refresh your patch so it applies against the current development branch? The 4.2 release is closed, and I'm now trying to get some of these enhancements into Mercurial.

Rik <rik5>
Project Administrator
Wed 31 Aug 2016 04:22:11 PM UTC, comment #5:

The last changeset did no longer apply cleanly on a current tip so I rebased it. It also no longer depends on fixes from other bugs and adds a demo to grid.m for the issue here.

(file #38396)

Markus Mützel <mmuetzel>
Project Member
Thu 28 Jul 2016 04:05:41 PM UTC, comment #4:

The atttached patch fixes some indentation issuesand removes some redundant calls to "calc_ticks_and_lims" with the previous changeset.

(file #38041)

Markus Mützel <mmuetzel>
Project Member
Fri 15 Jul 2016 01:52:43 PM UTC, comment #3:

The attached patch fixes the issue of minor grid lines not matching manually set x/y/zticks.

It applies on top of file #37876 from bug #45710.

(file #37897)

Markus Mützel <mmuetzel>
Project Member
Mon 31 Aug 2015 03:57:56 PM UTC, comment #2:

The plot in comment #1 attached as zzz.pdf is for the code

The corresponding plot made with Octave is attached as OctaveStrangeMajorTick.pdf.

(file #34777)

Rik <rik5>
Project Administrator
Mon 31 Aug 2015 03:34:17 PM UTC, comment #1:

Attached is the plot from Matlab 2015a
(zzz.pdf)

(file #34776)

Michael Godfrey <godfrey>
Project Member
Mon 31 Aug 2015 02:45:40 PM UTC, original submission:

The minor grid lines can be in incorrect locations if the xticks are set to non-uniform values.

For the example script,

see the attached plots from Matlab and Octave.

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37897:  grid_minor_manual.patch added by mmuetzel (7KiB - text/x-diff)
file #34777:  OctaveStrangeMajorTick.pdf added by rik5 (3KiB - application/pdf)
file #34776:  zzz.pdf added by godfrey (9KiB - application/pdf)
file #34774:  MatlabGridMinor.pdf added by rik5 (8KiB - application/pdf)
file #34775:  OctaveGridMinor.pdf added by rik5 (3KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mmuetzel (Updated the item)
  • -unavailable- added by godfrey (Updated the item)
  • -unavailable- added by rik5 (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Nov 2016 10:37:46 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 28 Oct 2016 12:43:47 PM UTCmmuetzelAttached File-=>Added bug45850_grid_minor_manual_v4.patch, #38831
    Wed 31 Aug 2016 04:22:11 PM UTCmmuetzelAttached File-=>Added bug45850_grid_minor_manual_v3.patch, #38396
    Thu 28 Jul 2016 06:14:21 PM UTCmmuetzelAttached File-=>Added bug45850_grid_minor_manual_v2.patch, #38044
    Thu 28 Jul 2016 04:05:41 PM UTCmmuetzelAttached File-=>Added bug45850_grid_minor_manual_v2.patch, #38041
    Fri 15 Jul 2016 01:52:43 PM UTCmmuetzelAttached File-=>Added grid_minor_manual.patch, #37897
    Mon 31 Aug 2015 03:57:56 PM UTCrik5Attached File-=>Added OctaveStrangeMajorTick.pdf, #34777
      StatusNone=>Confirmed
    Mon 31 Aug 2015 03:34:17 PM UTCgodfreyAttached File-=>Added zzz.pdf, #34776
    Mon 31 Aug 2015 02:45:40 PM UTCrik5Attached File-=>Added MatlabGridMinor.pdf, #34774
      Attached File-=>Added OctaveGridMinor.pdf, #34775

    Back to the top


    Powered by Savane 3.1-cleanup1