[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plotting Multiple Disconnected Lines in one call of line function
From: |
onur güngör |
Subject: |
Plotting Multiple Disconnected Lines in one call of line function |
Date: |
Sat, 31 Dec 2011 15:16:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 |
Hi,
I'm trying to run code
line([34 34 40 40], [0 35 0 35], 'color', 'y')
to produce two vertical lines on 34 and 40 in x-axis. I suspect this is
working in Matlab because this code is borrowed from a colleague who
uses Matlab. Sorry, I don't have Matlab to check it.
Actually, the function does what it is supposed to do, it connects each
pair. But how can I make it connects only in triples?
line([34 34], [0 35], 'color', 'y') also works as expected.
Thanks,
Onur
- Plotting Multiple Disconnected Lines in one call of line function,
onur güngör <=