[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can I change maker of stem?
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Can I change maker of stem? |
Date: |
Wed, 9 Sep 2009 10:40:05 +0900 (JST) |
Hello
--- David Bateman <address@hidden> wrote:
> Try
>
> h = stem(1:10, 'marker', 'x')
> set (h, 'marker', 'o')
>
> in octave 3.2.x ... This uses the stem series objects supported in
> Octave 3.2.x and described in the section
>
> Plotting -> Advanced Plotting -> Object Groups -> Stem Series
>
> of the manual
h=stem(1:10, 'marker', 'x'); gives
> h=stem(1:10, 'marker', 'x');
error: subscript indices must be either positive integers or logicals.
error: called from:
error:
C:\Programs\Octave\3.2.2_gcc-4.3.0\share\octave\3.2.2\m\plot\__add_datasource__.m
at line 42,
column 5
error:
C:\Programs\Octave\3.2.2_gcc-4.3.0\share\octave\3.2.2\m\plot\__stem__.m at line
159, column 5
error: C:\Programs\Octave\3.2.2_gcc-4.3.0\share\octave\3.2.2\m\plot\stem.m at
line 78, column 7
octave-3.2.2.exe:15:C:\Programs\Octave\3.2.2_gcc-4.3.0\bin
Therefore I showed an example to the questioner as,
x = 1:10;
y = ones (1, length (x))*2.*x;
h = stem(x,y);
set(h, 'marker','x');
set(h, 'marker','*');
Anyway thanks a lot!
Tatsuro
--------------------------------------
Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions
http://pr.mail.yahoo.co.jp/ec10years/