bugGNU Octave - Bugs: bug #44224, plot/plot3 do not accept...

 
 

bug #44224: plot/plot3 do not accept "color", "none"

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Tue 10 Feb 2015 08:48:33 PM UTC  
 
Category: PlottingSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 24 Nov 2015 05:43:57 PM UTC, comment #4:

Thanks Rik, this is very useful

Philip Nienhuis <philipnienhuis>
Project Member
Tue 24 Nov 2015 01:27:58 AM UTC, comment #3:

This was way easier to implement than I expected. I added support for line objects to have color = "none" in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/f90295782d60). Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Tue 10 Feb 2015 09:53:22 PM UTC, comment #2:

Thanks Rik, I knew about "visible".

Point is, sometimes it can be handy to select colors, including "none", through a sort of jump table. To also include another graphics property ("visible") for specific cases leads to quite a bit of unwarranted complexity.

The ML incompatibility still stands.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 10 Feb 2015 08:56:03 PM UTC, comment #1:

It's not just plot3, plot also behaves the same way. There's an easy workaround that I actually think is better. If you don't want to see an object change the "visible" attribute to "off". That makes it clear that your intention was not to show the object.

Rik <rik5>
Project Administrator
Tue 10 Feb 2015 08:48:33 PM UTC, original submission:

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

.. 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:

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

Philip Nienhuis <philipnienhuis>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Nov 2015 01:27:58 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 10 Feb 2015 08:56:03 PM UTCrik5Severity3 - Normal=>2 - Minor
      Summaryplot3 does not accept "color", "none"=>plot/plot3 do not accept "color", "none"

    Back to the top


    Powered by Savane 3.1-cleanup1