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

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

[Octave-bug-tracker] [bug #62682] ezplot() gets different results betwee


From: Glite
Subject: [Octave-bug-tracker] [bug #62682] ezplot() gets different results between inline function and anonymous function
Date: Tue, 28 Jun 2022 22:26:35 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62682>

                 Summary: ezplot() gets different results between inline
function and anonymous function
                 Project: GNU Octave
               Submitter: linuxbckp
               Submitted: Wed 29 Jun 2022 02:26:33 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 29 Jun 2022 02:26:33 AM UTC By: Glite <linuxbckp>

If I use an inline function to ezplot() a plot, it draws the correct result;
but if I use anonymous function, it will draw nothing.
ezplot() need a fix on anonymous function.

Here is my code:
>> ezplot('x^2+y^2-1')
warning: inline is obsolete; use anonymous functions instead
>> figure
>> ezplot(@(x,y)x^2+y^2-1)

And the drawn result is as the appendix picture.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Wed 29 Jun 2022 02:26:33 AM UTC  Name: ksnip_20220629-101612.png  Size:
32KiB   By: linuxbckp

<http://savannah.gnu.org/bugs/download.php?file_id=53382>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62682>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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