[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
plottting an indeterminate amount of data traces with different axes
From: |
injoi |
Subject: |
plottting an indeterminate amount of data traces with different axes |
Date: |
Fri, 19 Oct 2012 15:47:24 -0700 (PDT) |
I am trying to plot around 10 different data traces. There may not always be
the same amount of data traces there may be more or less. The trouble I am
running into is that there is ONE data trace that is on a completely
different order of magnitude than the others. I want to plot it with two
different y axes.
so far I have gotten:
print = [ 0 1 0 1 0 1 0 0 1 1 1 1 1 0 0];
bigone = [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0];
for i = 1: 15
if print(i) = 1
plot(time(start:end),data.(header{i})(start:end))
elseif bigone = 1
plotyy(time(start:end),data.(header{i})(start:end))
end
I have tried multiple variations on this because plotyy requires two inputs
but every time I try I have been receiving error messages or graphs that
look completely insane.
p.s. data trace "bigone" is about an order of magnitude different than the
others.
thanks
-----
Windows 7, intel Xeon(R) 3.3GHz
Thanks, Nohtal
--
View this message in context:
http://octave.1599824.n4.nabble.com/plottting-an-indeterminate-amount-of-data-traces-with-different-axes-tp4645519.html
Sent from the Octave - General mailing list archive at Nabble.com.
- plottting an indeterminate amount of data traces with different axes,
injoi <=