Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Verticle line

$
0
0
I need a help with a simple plot. I am new in matlab, so any help is much appreciated.
Suppose I have z = [0.9 0.6 0.3 ...]. I want want to draw a plot with a vertical line of length 0.9 at x=1, another vertical line of length 0.6 at x=2 etc. Is there any simple and elegant way of doing this?
 

Viewing all articles
Browse latest Browse all 19628

Latest Images

Trending Articles



Latest Images