Quantcast

Documentation Center

  • Trial Software
  • Product Updates

volarea

Price and volume chart

Syntax

volarea(X)

Arguments

X

M-by-3 matrix where the first column contains date numbers, the second column is the asset price, and the third column is the volume.

Description

volarea(X) plots asset date, price, and volume on a single axis.

Examples

expand all

Plot Asset Date, Price, and Volume on a Single Axis

This example shows how to plot asset date, price, and volume on a single axis, given asset X as an M-by-3 matrix of date numbers, asset price, and volume.

X = [...

733299.00         41.99   15045445.00;...
733300.00         42.14   15346658.00;...
733303.00         41.93    9034397.00;...
733304.00         41.98   14486275.00;...
733305.00         41.75   16389872.00;...
733306.00         41.61   20475208.00;...
733307.00         42.29   14833200.00;...
733310.00         42.19   18945176.00;...
733311.00         41.82   25188101.00;...
733312.00         41.93   22689878.00;...
733313.00         41.81   21084723.00;...
733314.00         41.37   27963619.00;...
733317.00         41.17   20385033.00;...
733318.00         42.02   27783775.00];

volarea(X)

See Also

| | | | | | | |

Was this topic helpful?