メインコンテンツ

HPPCChart

R2026b

Chart for visualizing identified discharge and charge pulses in a voltage plot

Since R2025a

Description

Use HPPCChart to create a chart for visualizing the identified discharge and charge pulses inside a voltage plot.

Creation

Description

Note

To quickly create a HPPCChart object, use the plot method of the HPPCTest object. By using this function, you avoid importing the namespace, using the full class name, or dealing only with name-value arguments when creating the object.

To use this object, at the MATLAB® Command Window, run this command at least once each MATLAB session:

import simscape.battery.parameters.ui.*; 
All properties are exposed as name-value arguments in this object.

chart = HPPCChart(Parent=fig,HPPCTest=test) creates a HPPCChart object that visualizes the discharge and charge pulses inside the HPPCTest object specified in the HPPCTest property, in the container specified in the Parent property.

chart = HPPCChart(HPPCTest=test) creates a HPPCChart object that visualizes the discharge and charge pulses inside the HPPCTest object specified in the HPPCTest property.

chart = HPPCChart(___,PropertyName=Value) creates a HPPCChart object and sets Properties using one or more name-value arguments.

Properties

expand all

Parent container of the chart, specified as a Figure, Panel, Tab, or TiledChartLayout object.

HPPC test that contains the discharge and charge pulses to plot, specified as an HPPCTest object.

Visibility of the charge pulse indices highlighted on the chart, specified as "off", "on", or as numeric or logical 1 (true) or 0 (false). A value of "on" is equivalent to true, and "off" is equivalent to false. Thus, you can use the value of this property as a logical value. The value is stored as an on/off logical value of type matlab.lang.OnOffSwitchState.

Visibility of the discharge pulse indices highlighted on the chart, specified as "off", "on", or as numeric or logical 1 (true) or 0 (false). A value of "on" is equivalent to true, and "off" is equivalent to false. Thus, you can use the value of this property as a logical value. The value is stored as an on/off logical value of type matlab.lang.OnOffSwitchState.

Visibility of the chart axes, specified as "off", "on", or as numeric or logical 1 (true) or 0 (false). A value of "on" is equivalent to true, and "off" is equivalent to false. Thus, you can use the value of this property as a logical value. The value is stored as an on/off logical value of type matlab.lang.OnOffSwitchState.

Since R2026b

Visibility of chart axes toolbar, specified as "on" or "off", or as numeric or logical 1 (true) or 0 (false). A value of "on" is equivalent to true, and "off" is equivalent to false. Thus, you can use the value of this property as a logical value. The value is stored as an on/off logical value of type matlab.lang.OnOffSwitchState.

  • "on" — Display the toolbar.

  • "off" — Do not display the toolbar.

This object is a subclass of the ChartContainer class. For a list of the ChartContainer properties, see matlab.graphics.chartcontainer.ChartContainer.

Version History

Introduced in R2025a

expand all