Different colors on tickmarks and axes labels?

6 次查看(过去 30 天)
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?

回答(1 个)

Sean de Wolski
Sean de Wolski 2014-3-24
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.

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by