[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting stock charts and indicators
From: |
Shaun Jackman |
Subject: |
Re: Plotting stock charts and indicators |
Date: |
Thu, 13 Nov 2008 12:10:14 -0800 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080914) |
Hi Andrew,
If you want the formatting of the plot to look just like the plots
you've shown above, that may be tricky. However, if just want to plot
the data and are happy accepting Octave's default formatting, it's
really quite straight forward. The following short script will plot
the line x0 in green and the line x1 in red.
octave:1> t = [1 2 3];
octave:2> x0 = [1 4 9];
octave:3> x1 = [1 8 27];
octave:4> plot(t, x0, 'g', x1, 'r')
Cheers,
Shaun
Andrew Shacklock wrote:
I have written a request for help at
http://www.nabble.com/Plotting-stock-charts-and-indicators-td20471364.html
and would be grateful if anyone could give me any advice.