Different colors on tickmarks and axes labels?

1 view (last 30 days)
Ryan
Ryan on 24 Mar 2014
Answered: Sean de Wolski on 24 Mar 2014
I would like to have an image with different colored ticks, ticklabels, and axis labels. Specifically, I would like black axis labels and ticklabels, but white tick marks. Is there some method of accomplishing this?

Answers (1)

Sean de Wolski
Sean de Wolski on 24 Mar 2014
First, convert the tick labels to text, using one of these utilities:
Now the tick label and the ticks/axis labels are no longer tied together so they can be different colors.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!