Examples

Generate a Point and Figure Chart for a Data Series for a Stock

Load the file SimulatedStock.mat, which provides a timetable (TMW) for financial data for TMW stock. This Point and Figure chart is for closing prices of the stock TMW for the most recent 21 days. Note that the variable name of asset price is be renamed to 'Price' (case insensitive).

Input Arguments

Data — Data for a series of pricesmatrix | table | timetable

Data for a series of prices, specified as a matrix, table, or timetable.
Timetables and tables with M rows must contain a variable
named 'Price' (case insensitive).

Data Types: double | table | timetable

ax — Valid axis objectcurrent axes (ax = gca) (default) | axes object

(Optional) Valid axis object, specified as an axes object. The point and
figure plot is created in the axes specified by ax
instead of in the current axes (ax = gca). The option
ax can precede any of the input argument
combinations.