No BSD License  

Highlights from
PLOT_LINES

4.5

4.5 | 20 ratings Rate this file 7 Downloads (last 30 days) File Size: 973 Bytes File ID: #4520

PLOT_LINES

by

 

23 Feb 2004 (Updated )

Plots vertical lines at points defined on the x-axis.

| Watch this File

File Information
Description

plot_lines(xin) - Plots vertical lines at points defined on the x-axis using red solid lines and the current y-axis limits using a single line handle

plot_lines(xin,[a b]) - Plots the lines from a to b

plot_lines(xin,[],lntype) - Plots the lines using the current y-axis limits using the line type deined by lntype

h = plot_lines(xin,[a b],lntype) - Returns the handle to the vertcal lines

Ex.)
figure(1);clf;
plot(randn(1,1000));
x = [10 170 300 450 600 800 990];
hold on;
plot_lines(x,[],'b:');

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (21)
10 Mar 2011 Daniel

Thanks! it works fine.

06 Nov 2009 David Barry  
29 Aug 2008 lilia Leyton

I want to make a Contours, but the x-axis is the latitude of a sector and the shaft and deep, I'm desperate for that not to make any help is appreciated.

13 May 2008 Cristobal Alday  
29 Jan 2008 mill man

Nice feature

18 Aug 2007 Deborah Wilson  
20 Jun 2007 funfel funfel

good stuff

27 May 2007 jaro cz

Good work thank you ...

09 Mar 2007 Anand Panangadan

Exactly what I was looking for. Well written and documented.

29 Nov 2006 Gregers Petersen  
02 Aug 2006 christina franke

Thanx!! Exactly what I was looking for!

02 May 2006 Tom Costello

This worked fine in R14 for me (plot_lines(xin,[],lntype) prototype). Nice work.

08 Dec 2005 Bill Durr

didnt work in matlab R14, does anyone know how to get it to work in R14

06 Dec 2005 Sven Scherrer

did not solve my problem completely, but it's very close to what I needed.

19 Oct 2005 Suranga Nanayakkara

exactly what i was looking !!! Cheers

12 Sep 2005 K Forth

just what i needed

16 Aug 2005 Izru Garner

Simple and Interesting

26 Nov 2004 Alina van der Giessen

Exactly what I was looking for, thanx.

13 Jul 2004 Juan Benavides

Usefull tool
Thanks!!

19 Apr 2004 Tinh Bui

very bed

25 Feb 2004 Fahad Al Mahmood

Nice plotting tool ....... thanks!

Contact us