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

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

[Octave-bug-tracker] [bug #39585] plot3 ignores setting color through li


From: anonymous
Subject: [Octave-bug-tracker] [bug #39585] plot3 ignores setting color through linespec
Date: Sun, 28 Jul 2013 03:58:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

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

                 Summary: plot3 ignores setting color through linespec
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 28 Jul 2013 03:58:20 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Bryan Poling
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

On my machine, the first time I use plot3 on a figure, the line will be red.
If I then do "hold on" and use plot3 again, the next line will be blue. Next
call gives light blue. The 4'th call gives yellow. Subsequent calls repeat
this sequence. If I try to set the line color by passing '-b', '-r', '-g',
etc. these options are ignored. Colors work as expected in 2D plots.

Run the following to reproduce this behavior:

figure
plot3([0,1],[0,1],[0,1],'-b','linewidth',3);
hold on
plot3([1,0.5],[0,1],[0.5,0.5],'-b','linewidth',3);
plot3([0,-1],[0.8,-1],[-0.3,-1],'-b','linewidth',3);

Plot more lines, if desired and you should see the colors cycle.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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