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: Doug Stewart
Subject: Re: plotyy without specified x values
Date: Fri, 30 Mar 2018 11:54:51 -0400



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]