bugGNU Octave - Bugs: bug #52063, set xaxislocation to origin...

 
 

bug #52063: set xaxislocation to origin changes axis color

Submitted by:  Daniel Scislowski <dansci>
Submitted on:  Wed 20 Sep 2017 01:14:55 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.1Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 21 Sep 2017 11:14:15 PM UTC, comment #4:

Works great. Thanks for the quick patch Dan. I applied it here http://hg.savannah.gnu.org/hgweb/octave/rev/44bdd1bf14d8. Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Thu 21 Sep 2017 07:40:23 PM UTC, comment #3:

There was a remaining un-adjusted do_linestyle_command(), from when that function was modified a long time ago. Patch attached. Thanks for the bug report.

(file #41863)

Dan Sebald <sebald>
Thu 21 Sep 2017 05:35:34 PM UTC, comment #2:

Adding Dan Sebald to the CC list since this is a gnuplot issue.

The problem is likely to be some sort of color cycling algorithm which tries to multiple lines in different colors. For example,

Rik <rik5>
Project Administrator
Wed 20 Sep 2017 05:06:01 AM UTC, comment #1:

Confirmed. Also, this is only an issue with gnuplot. On the development branch the AxisColor.m script runs fine with the qt toolkit.

Rik <rik5>
Project Administrator
Wed 20 Sep 2017 01:14:55 AM UTC, original submission:

I'm running Octave 4.2.1 on Windows 10 Pro Version 10.0.14393 Build 14393 (x64-based system)

I downloaded and installed Octave from the following link: https://ftp.gnu.org/gnu/octave/windows/octave-4.2.1-w64-installer.exe,
and run it with this command:
"C:\Octave\Octave-4.2.1\octave.vbs --force-gui"

When Octave starts it tells me:
Octave was configured for "x86_64-w64-mingw32"

Running the AxisColor script (attached) generates the first attached plot (plot1.png) which has black axes as expected. It then changes the axes' locations, and generates another attached plot (plot2.png) in which the axes have changed colors without any instructions to do so.

Daniel Scislowski <dansci>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41839:  AxisColor.m added by dansci (224B - text/x-objcsrc)
file #41840:  plot2.png added by dansci (11KiB - image/png)
file #41841:  plot1.png added by dansci (11KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sebald (Updated the item)
  • -unavailable- added by rik5
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by dansci (Submitted the item)
  • -unavailable- added by dansci
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Sep 2017 11:14:15 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 21 Sep 2017 07:40:23 PM UTCsebaldAttached File-=>Added octave-gnuplot_axes_color-djs2017sep21.patch, #41863
    Thu 21 Sep 2017 05:35:34 PM UTCrik5Carbon-Copy-=>Added sebald
    Wed 20 Sep 2017 05:06:01 AM UTCrik5StatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any
    Wed 20 Sep 2017 01:14:55 AM UTCdansciAttached File-=>Added AxisColor.m, #41839
      Attached File-=>Added plot2.png, #41840
      Attached File-=>Added plot1.png, #41841
      Carbon-Copy-=>Added dansci

    Back to the top


    Powered by Savane 3.1-cleanup1