Skip to content

x-axis ticks not corresponding #208

Closed
@xarico10

Description

@xarico10

When creating bars charts with bar(), the x-axis isn't being labeled as in MATLAB.

For example:

x = 1900:10:2000;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(x,y)

fig2plotly();

Expected and generated (https://chart-studio.plotly.com/~xarico10/553/#/) plots:
Captura de Pantalla 2021-07-27 a la(s) 7 47 15 p  m

Captura de Pantalla 2021-07-27 a la(s) 7 46 59 p  m

As seen, half of x-axis labels aren't there.

Examples on using bar() can be found on:
https://www.mathworks.com/help/matlab/ref/bar.html#responsive_offcanvas

Metadata

Metadata

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