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

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

[Octave-bug-tracker] [bug #55134] fplot failing on non-vectorized functi


From: anonymous
Subject: [Octave-bug-tracker] [bug #55134] fplot failing on non-vectorized function
Date: Mon, 3 Dec 2018 10:19:20 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

Follow-up Comment #3, bug #55134 (project octave):

Thanks for the fast response.


The result of running new_tst_fplot.m in MATLAB is the following warning and
the two figures which are drawn correctly.

run('D:\School\MATLAB\new_tst_fplot.m')
For K=0: x=-0.247, y=-1.029, z=2.294
Warning: Function behaves unexpectedly on array inputs. To improve
performance, properly vectorize your function to return an output with
the same size and shape as the input arguments. 
> In matlab.graphics.function.FunctionLine>getFunction
  In matlab.graphics.function.FunctionLine/updateFunction
  In matlab.graphics.function.FunctionLine/set.Function_I
  In matlab.graphics.function.FunctionLine/set.Function
  In matlab.graphics.function.FunctionLine
  In fplot>singleFplot (line 237)
  In fplot>@(f)singleFplot(cax,{f},limits,extraOpts,args) (line 192)
  In fplot>vectorizeFplot (line 192)
  In fplot (line 162)
  In new_tst_fplot (line 6)
  In run (line 91) 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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