Thread Subject: how to

Subject: how to

From: shellon

Date: 2 Dec, 2006 02:33:31

Message: 1 of 3

Hi all:
    how to set the range of X axis, I use

    scatter(data(:,1),data(:,2),'+' );
    set(gca,'XTick',-1:1:8);

    but can not set the X axis to [-1, 8]

Subject: how to

From: Dmitrey

Date: 2 Dec, 2006 06:07:16

Message: 2 of 3

Hi
is xlim() is tat you are looking for?
 shellon wrote:
>
>
> Hi all:
> how to set the range of X axis, I use
>
> scatter(data(:,1),data(:,2),'+' );
> set(gca,'XTick',-1:1:8);
>
> but can not set the X axis to [-1, 8]
>
>

Subject: how to

From: Dmitrey

Date: 2 Dec, 2006 06:08:17

Message: 3 of 3

I meant
"is xlim() is that you are looking for? "

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com