help-octave
[Top][All Lists]
Advanced

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

Re: plotyy without specified x values


From: Fritz Sonnichsen
Subject: Re: plotyy without specified x values
Date: Fri, 30 Mar 2018 11:57:44 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

That was fast! Thanks
Fritz

On 3/30/2018 11:54 AM, Doug Stewart wrote:


On Fri, Mar 30, 2018 at 11:50 AM, Fritz Sonnichsen <address@hidden> wrote:
I want to do a double y plot:
==== read data ="">
plotyy(x,y1,x,y2)
However the x values are not specified in the file thus I just want to plot the y sequences without specifying x. So I am looking for something like:
plotyy(: , y1 , : , y2)

This syntax does not work for course. Is there a way to do this?

Thanks
Fritz



set 
x=1:numel(y)
then use
plotyy(x,y1,x,y2)

--
DASCertificate for 206392



reply via email to

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