plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

Plotting 3-D functions using fplot3() not supported

Open xarico10 opened this issue 5 years ago • 0 comments

An error is being printed when using any variation of fplot3().

For example,

xt = @(t) sin(t);
yt = @(t) cos(t);
zt = @(t) t;
fplot3(xt,yt,zt)

fig2plotly();

Prints the following error:

Error using response_handler (line 31)
Expecting (x, y) pairs

Error in makecall (line 32)
    response_handler(resp);

Error in plotly (line 28)
response = makecall(args, origin, structargs);

Error in plotlyfig/plotly (line 437)
                response = plotly(obj.data,
                args);

Error in fig2plotly (line 49)
p.plotly;

Error in untitled11 (line 28)
fig2plotly();

Expected plot:

Captura de Pantalla 2021-07-25 a la(s) 6 36 59 p  m

Examples on how to use fplot3() can be found on:

https://www.mathworks.com/help/matlab/ref/fplot3.html#responsive_offcanvas

xarico10 avatar Jul 25 '21 23:07 xarico10