help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stem plot


From: Andreas Weber
Subject: Re: Stem plot
Date: Fri, 08 Feb 2013 12:40:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

Am 07.02.2013 11:35, schrieb swetha:
>  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

Hi swetha,
from the pathname I guess you are using some sort of Windows? Also
please mention the used graphics_toolkit gnuplot, fltk (or wxWidgets?)
and the used octave version (the newest today is 3.6.2 MSVC or MinGW).

Have you tried to switch to another alternative plotting backend, for
example with:
graphics_toolkit fltk

Regards, Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]