Closed
Description
When using histogram
to modify edges limit using the input argument edges
doesn't work.
rng(1)
x = randn(1000,1);
edges = [-10 -2:0.25:2 10];
h = histogram(x,edges);
fig2plotly();
The previous code should plot a histogram going from -10 to 10 in the x-axis, however it plots it within the default values:
Expected and generated (https://chart-studio.plotly.com/~xarico10/491/#/) plots:
Examples on using edges
can be found on:
https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.histogram.html#buhzt18-1
Metadata
Metadata
Assignees
Labels
No labels