Reported by Katsuhiro Uno, Nov 16, 2017
Steps to reproduce the problem: 1.x=-50:49; y=x; 2.w=ones(100,100); 3.w(1)=%nan; 4.surf(x,y,w); Expected result: %nan point is not drawn and other points are drawn. Actual result: -->surf(x,y,w); !--error 21 添字に誤りがあります. at line 19 of function computeColor called by : at line 4 of function _update_single_shaded_pl called by : at line 17 of function _update_shaded_plots called by : at line 91 of function _compute_data_bounds called by : at line 338 of function _mainPlot called by : at line 9 of function surf called by : surf(x,y,w);
Comment 1 by Katsuhiro Uno, Nov 16, 2017
I have been using scilab in Japanese. I found the scilab "surf" plotting function cannot handle data containing "not a number" %nan value. "surfl" function in plotting library 0.46 in ATOMS results in the same error. Somone told me that the error neither with Scilab 5.5.2 nor with Scilab 6.0 was occurred without loading plotlib, with the code i have posted. Plotlib is known to alterate Scilab functions and make some of them unstable. This error comes from the Plotlib side. Could you fix it?
Sign in to reply to this comment.