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

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

[Octave-bug-tracker] [bug #44224] plot3 does not accept "color", "none"


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44224] plot3 does not accept "color", "none"
Date: Tue, 10 Feb 2015 20:48:34 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

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

                 Summary: plot3 does not accept "color", "none"
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Tue 10 Feb 2015 09:48:33 PM CET
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Subject says all (I think), but to clarify (w. 3.9.1+ on Windows):

>> plot3 ([0 1], [2 3], [4 5], "color", "none")
error: invalid color specification: none
error: called from
    __line__ at line 119 column 16
    line at line 56 column 8
    plot3 at line 345 column 21
error: invalid value for color property "color" (value = none)
error: called from
    __line__ at line 119 column 16
    line at line 56 column 8
    plot3 at line 345 column 21


.. and a 3D-plot with a blue line is produced.

Matlab r2015a (prerelease) happily accepts "none" as color and produces an
empty 3D-plot, as expected:

>> plot3 ([0 1], [2 3], [4 5], 'color', 'none')
>> 


While plotting a line w/o color may look nonsensical at first sight, it does
come in handy at times.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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