Skip to content

Bar Width parameter not working on bars charts #210

Closed
@xarico10

Description

@xarico10

When specifying a bar color using bar(__, width) no changes on the bars width are being made.

y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(y,0.2)

fig2plotly();

The previous code should create very thin bars, but it doesn't.

Expected and generated (https://chart-studio.plotly.com/~xarico10/557/#/) plots:
Captura de Pantalla 2021-07-27 a la(s) 8 00 07 p  m
Captura de Pantalla 2021-07-27 a la(s) 8 00 31 p  m

Examples on using width input argument can be found on:
https://www.mathworks.com/help/matlab/ref/bar.html#bthxceu

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions