MATLAB Answers

GUI Axes Plot Ticks Outside

5 views (last 30 days)
Qingyang
Qingyang on 27 Jul 2012
Hi, when I plot onto a GUI axes, the tick marks are outside the axes's boundaries. Is there any way to bring them all inside?

  2 Comments

Yash
Yash on 27 Jul 2012
check the axex position
Qingyang
Qingyang on 27 Jul 2012
The positions are where I want them to be, but the ticks are outside the white area and overlap onto other GUI components.

Sign in to comment.

Answers (1)

Beth
Beth on 27 Jul 2012
Try setting the TickDir property of the axes to 'in'

  1 Comment

Qingyang
Qingyang on 27 Jul 2012
It's set to 'in' by default and does not solve the problem :(

Sign in to comment.

Sign in to answer this question.