Skip to content

Name-Value argument BaseValue not working #231

Closed
@xarico10

Description

@xarico10

When specifying an initial base value using 'BaseValue no changes are made.

For example,

y = [8 15 33; 30 35 40; 50 55 62];
barh(y,'BaseValue',25)

fig2plotly(gcf, 'offline', false);

The previous code should produce an horizontal bar chart in which the 'zero value' or base value should be 25, however, it starts at 0 as usual.

Expected and generated (https://chart-studio.plotly.com/~xarico10/573/#/) plots:
Captura de Pantalla 2021-07-30 a la(s) 3 46 57 p  m
Captura de Pantalla 2021-07-30 a la(s) 3 47 10 p  m

Examples on using 'BaseValue can be found on:
https://www.mathworks.com/help/matlab/ref/barh.html#mw_caa2d25c-e3b8-47db-ad74-c7643062cbf8

Metadata

Metadata

Assignees

Labels

⭐⭐⭐ multiplierIssues that could close multiple related issues at once

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions