Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
default tick direction

Subject: default tick direction

From: Michael Ashby

Date: 2 Jun, 2009 15:36:01

Message: 1 of 4

I'd like to change the default tick direction on my figures to 'out', so that I don't have to change it on every axis I make. I had a look through the documentation but can't find the correct Property Name. Can anyone help me out?

Thanks,

Mike

Subject: default tick direction

From: Steven Lord

Date: 2 Jun, 2009 15:43:51

Message: 2 of 4


"Michael Ashby" <ashbymc{removethis}@gmail.com> wrote in message
news:h03gt1$ju6$1@fred.mathworks.com...
> I'd like to change the default tick direction on my figures to 'out', so
> that I don't have to change it on every axis I make. I had a look through
> the documentation but can't find the correct Property Name. Can anyone
> help me out?

Look at the axes TickDir property.

--
Steve Lord
slord@mathworks.com

Subject: default tick direction

From: Michael Ashby

Date: 2 Jun, 2009 16:05:02

Message: 3 of 4

"Steven Lord" <slord@mathworks.com> wrote in message <h03hb3$i4u$1@fred.mathworks.com>...
>
> "Michael Ashby" <ashbymc{removethis}@gmail.com> wrote in message
> news:h03gt1$ju6$1@fred.mathworks.com...
> > I'd like to change the default tick direction on my figures to 'out', so
> > that I don't have to change it on every axis I make. I had a look through
> > the documentation but can't find the correct Property Name. Can anyone
> > help me out?
>
> Look at the axes TickDir property.
>
> --
> Steve Lord
> slord@mathworks.com
>
Thanks for the reply, Steve.

For anyone interested, the answer is

set(0,'DefaultAxesTickDir', 'out')

I was using "Axis" instead of "Axes"...
I was using "Axis" instead of "Axes" in the middle.

Subject: default tick direction

From: Yuji Zhang

Date: 15 Jul, 2013 23:50:11

Message: 4 of 4

Hi Mike~

Thanks you for sharing~ I was just looking for this!


yuji

"Michael Ashby" wrote in message <h03ije$do0$1@fred.mathworks.com>...
> "Steven Lord" <slord@mathworks.com> wrote in message <h03hb3$i4u$1@fred.mathworks.com>...
> >
> > "Michael Ashby" <ashbymc{removethis}@gmail.com> wrote in message
> > news:h03gt1$ju6$1@fred.mathworks.com...
> > > I'd like to change the default tick direction on my figures to 'out', so
> > > that I don't have to change it on every axis I make. I had a look through
> > > the documentation but can't find the correct Property Name. Can anyone
> > > help me out?
> >
> > Look at the axes TickDir property.
> >
> > --
> > Steve Lord
> > slord@mathworks.com
> >
> Thanks for the reply, Steve.
>
> For anyone interested, the answer is
>
> set(0,'DefaultAxesTickDir', 'out')
>
> I was using "Axis" instead of "Axes"...
> I was using "Axis" instead of "Axes" in the middle.

Tags for this Thread

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.

Contact us