octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52170] gnuplot graphics toolkit multiple axes


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52170] gnuplot graphics toolkit multiple axes do not align
Date: Wed, 4 Oct 2017 15:49:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52170>

                 Summary: gnuplot graphics toolkit multiple axes do not align
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Wed 04 Oct 2017 07:49:44 PM UTC
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

There looks to be multiple issues with the following:


graphics_toolkit gnuplot
figure
plot([0:50], sin(0.03*pi*[0:50]), 'b');
set(gca, 'xcolor', 'b');
set(gca, 'ycolor', 'b');
set(gca, 'box', 'off');
ax = axes('Position', get(gca, 'Position'));
plot(ax, [0:75], 2.5*cos(0.03*pi*[0:75]), 'r');
set(ax, 'xaxislocation', 'top');
set(ax, 'xcolor', 'r');
set(ax, 'yaxislocation', 'right');
set(ax, 'ycolor', 'r');
set(ax, 'color', 'none');
set(ax, 'box', 'off');


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:


graphics_toolkit gnuplot
figure
plot([0:50], sin(0.03*pi*[0:50]), 'b');
set(gca, 'xaxislocation', 'top');
set(gca, 'xcolor', 'b');
set(gca, 'yaxislocation', 'right');
set(gca, 'ycolor', 'b');
set(gca, 'color', 'none');
set(gca, 'box', 'off');






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52170>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]