bugGNU Octave - Bugs: bug #58530, missing functions: xline() and...

 
 

bug #58530: missing functions: xline() and yline()

Submitted by:  Hartmut <hardy>
Submitted on:  Mon 08 Jun 2020 05:56:40 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Mon 08 Jun 2020 09:12:49 PM UTC, comment #1: 

Interesting, I wrote m-files to do this when I first started using Octave more than 10 years ago, but I called my files hline.m (horizontal line) and vline.m (vertical line).  I can dust them off and add them to Octave.

Rik <rik5>
Project Administrator
Mon 08 Jun 2020 05:56:40 PM UTC, original submission:  

There are two new functions in Matlab: xline and yline.
Mathworks introduced them in R2018b.
These functions just draw one straight line into a plot, like this:

plot(1:10)
yline(5.7);

Currently (Octave 5.2.0) does not throw an "unknown function" comment, when using those commands.

I would suggest to

  • at least include those functions into the "missing functions" list of Octave
  • maybe generate two new Octave functions, that mimic this simple behavior
  • Perfect compatibility won't be reachable too soon, because those two command seem to return some kind of (classdef) object in Matlab.
Hartmut <hardy>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-08 rik5 StatusNone => Confirmed
        Release5.2.0 => dev

    Back to the top


    Powered by Savane 3.5