turn off the label of x axis
  Home FAQ Contact Sign in
comp.softsys.matlab only
 
Advanced search
POPULAR GROUPS

more...

comp.softsys.matlab Profile…
 Up
turn off the label of x axis         


Author: Mike
Date: Apr 8, 2008 18:15

Hi

I'd like to turn off the label of x axis.
I tried " axis off", but it turn off everything about axis.

Any suggestions would be very appreciated.

Mike
6 Comments
Re: turn off the label of x axis         


Author: Mike
Date: Apr 8, 2008 18:18

On Apr 9, 9:15 am, Mike gmail.com> wrote:
> Hi
>
> I'd like to turn off the label of x axis.
> I tried " axis off", but it turn off everything about axis.
>
> Any suggestions would be very appreciated.
>
> Mike

Sorry, I should say tick labels of the x axis.

Mike
no comments
Re: turn off the label of x axis         


Author: dpb
Date: Apr 8, 2008 18:25

Mike wrote:
> On Apr 9, 9:15 am, Mike gmail.com> wrote:
...
>> I'd like to turn off the label of x axis.
...
> Sorry, I should say tick labels of the x axis.

set(gca,'ytick',[])

help any?

--
no comments
Re: turn off the label of x axis         


Author: dpb
Date: Apr 8, 2008 18:34

dpb wrote:
> Mike wrote:
>> On Apr 9, 9:15 am, Mike gmail.com> wrote:
> ...
>
>>> I'd like to turn off the label of x axis.
> ...
>> Sorry, I should say tick labels of the x axis.
>
>
> set(gca,'ytick',[])
>
> help any?

I guess

set(gca,'xtick',[])

might help more... :)

--
no comments
Re: turn off the label of x axis         


Author: Mike
Date: Apr 8, 2008 19:31

On Apr 9, 9:34 am, dpb non.net> wrote:
> dpb wrote:
>> Mike wrote:
>>> On Apr 9, 9:15 am, Mike gmail.com> wrote:
>> ...
>
>>>> I'd like to turn off the label of x axis.
>> ...
>>> Sorry, I should say tick labels of the x axis.
>
>> set(gca,'ytick',[])
>
>> help any?
>
> I guess
>
> set(gca,'xtick',[])
>
> might help more... :)
> ...
Show full article (0.60Kb)
no comments
Re: turn off the label of x axis         


Author: Mike
Date: Apr 8, 2008 19:46

On Apr 9, 10:31 am, Mike gmail.com> wrote:
> On Apr 9, 9:34 am, dpb non.net> wrote:
>
>
>
>
>
>> dpb wrote:
>>> Mike wrote:
>>>> On Apr 9, 9:15 am, Mike gmail.com> wrote:
>>> ...
>
>>>>> I'd like to turn off the label of x axis.
>>> ...
>>>> Sorry, I should say tick labels of the x axis.
>
>>> set(gca,'ytick',[])
>
>>> help any?
> ...
Show full article (0.86Kb)
no comments
Re: turn off the label of x axis         


Author: dpb
Date: Apr 9, 2008 06:45

Mike wrote:
...
> My mistake I should
> if(i>=i & i<=9)
> set(gca,'xtick',[]) ;
> end

Or set the contents of the array to the desired values and then need
only one set() call.

--
no comments