This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

High-Low-Close Chart

Load the data and set up matrix dimensions. load and size are standard MATLAB® functions.

load ibm.dat;
[ro, co] = size(ibm);

Open a figure window for the chart. Use the Financial Toolbox™ highlow function to plot high, low, and close prices for the last 50 trading days in the data file. Add labels and title, and set axes with standard MATLAB functions. Use the Financial Toolbox dateaxis function to provide dates for the x-axis ticks.

ylabel('Price ($)');
title('International Business Machines, 941231 - 950219');
axis([0 50 -inf inf]);

See Also

| | | | | | | | | | | | | | | | | | | | | | | | | |

Related Topics

Was this topic helpful?