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

 
 

bug #52063: set xaxislocation to origin changes axis color

Submitter:  Daniel Scislowski <dansci>
Submitted:  Wed 20 Sep 2017 01:14:55 AM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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,


plot (rand (3,3))



Rik <rik5>
Group 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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by sebald (Updated the item)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by dansci (Submitted the item)
  • -email is unavailable- added by dansci
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-21 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2017-09-21 sebald Attached File- Added octave-gnuplot_axes_color-djs2017sep21.patch, #41863
    2017-09-21 rik5 Carbon-Copy- Added sebald
    2017-09-20 rik5 StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
    2017-09-20 dansci Attached 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.13-d3ae.
    Corresponding source code