[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stem plot
From: |
swetha |
Subject: |
Stem plot |
Date: |
Thu, 7 Feb 2013 02:35:43 -0800 (PST) |
Hello,
I want to do a stem plot of the image values.The following is my code
I=imread('E:\standard_test_images\cameraman.tif');
[row,col,channels]=size(I);
y=zeros(1,10,'uint8');
x= [1:10];
y(x)=I(1,1:10,1);
stem(x',y);
I am getting a plot which is shown in the image.Why do i get such a plot?
stemplot.png
<http://octave.1599824.n4.nabble.com/file/n4649601/stemplot.png>
-swetha
--
View this message in context:
http://octave.1599824.n4.nabble.com/Stem-plot-tp4649601.html
Sent from the Octave - General mailing list archive at Nabble.com.