Closed
Description
For any plot using errorbar()
, error bars are not being plotted and a 2D regular plot is showed instead.
For example,
x = 1:10:100;
y = [20 30 45 40 60 65 80 75 95 90];
err = 8*ones(size(y));
errorbar(x,y,err)
fig2plotly();
Expected and generated (https://chart-studio.plotly.com/~xarico10/216/#/) plots:
Therefore, any input argument related to error bars is working either:
x = 1:10:100;
y = [20 30 45 40 60 65 80 75 95 90];
yneg = [1 3 5 3 5 3 6 4 3 3];
ypos = [2 5 3 5 2 5 2 2 5 5];
xneg = [1 3 5 3 5 3 6 4 3 3];
xpos = [2 5 3 5 2 5 2 2 5 5];
errorbar(x,y,yneg,ypos,xneg,xpos,'o')
fig2plotly();
Expected and generated (https://chart-studio.plotly.com/~xarico10/218/#/) plots:
In both cases, the following warning message is printed:
Unrecognized field name "UData".
We had trouble parsing the errorbar object.
This trace might not render properly.
Examples on using errorbar()
can be found on:
https://www.mathworks.com/help/matlab/ref/errorbar.html
Metadata
Metadata
Assignees
Labels
No labels